Diff for /servers/slapd/overlays/syncprov.c between versions 1.78 and 1.79

version 1.78, 2005/04/24 22:38:37 version 1.79, 2005/04/26 00:01:19
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.77 2005/04/24 22:07:26 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.78 2005/04/24 22:38:37 hyc Exp $ */
 /* syncprov.c - syncrepl provider */  /* syncprov.c - syncrepl provider */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
Line 976  syncprov_matchops( Operation *op, opcook Line 976  syncprov_matchops( Operation *op, opcook
         if ( op->o_tag != LDAP_REQ_ADD ) {          if ( op->o_tag != LDAP_REQ_ADD ) {
                 op->o_bd->bd_info = (BackendInfo *)on->on_info;                  op->o_bd->bd_info = (BackendInfo *)on->on_info;
                 rc = be_entry_get_rw( op, fc.fdn, NULL, NULL, 0, &e );                  rc = be_entry_get_rw( op, fc.fdn, NULL, NULL, 0, &e );
                   /* If we're sending responses now, make a copy and unlock the DB */
                   if ( e && !saveit ) {
                           Entry *e2 = entry_dup( e );
                           be_entry_release_rw( op, e, 0 );
                           e = e2;
                   }
                 op->o_bd->bd_info = (BackendInfo *)on;                  op->o_bd->bd_info = (BackendInfo *)on;
                 if ( rc ) return;                  if ( rc ) return;
         } else {          } else {

Removed from v.1.78  
changed lines
  Added in v.1.79


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org