Diff for /servers/slapd/overlays/syncprov.c between versions 1.147.2.30 and 1.147.2.31

version 1.147.2.30, 2008/07/08 20:33:51 version 1.147.2.31, 2008/07/09 21:42:19
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.147.2.29 2008/05/29 22:57:32 quanah Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.147.2.30 2008/07/08 20:33:51 quanah 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 2323  no_change:  if ( !(op->o_sync_mode & SLA Line 2323  no_change:  if ( !(op->o_sync_mode & SLA
                                 send_ldap_error( op, rs, LDAP_SYNC_REFRESH_REQUIRED, "sync cookie is stale" );                                  send_ldap_error( op, rs, LDAP_SYNC_REFRESH_REQUIRED, "sync cookie is stale" );
                                 return rs->sr_err;                                  return rs->sr_err;
                         }                          }
                           if ( srs->sr_state.ctxcsn ) {
                                   ber_bvarray_free_x( srs->sr_state.ctxcsn, op->o_tmpmemctx );
                                   srs->sr_state.ctxcsn = NULL;
                           }
                           if ( srs->sr_state.sids ) {
                                   slap_sl_free( srs->sr_state.sids, op->o_tmpmemctx );
                                   srs->sr_state.sids = NULL;
                           }
                           srs->sr_state.numcsns = 0;
                 } else {                  } else {
                         gotstate = 1;                          gotstate = 1;
                         /* If changed and doing Present lookup, send Present UUIDs */                          /* If changed and doing Present lookup, send Present UUIDs */

Removed from v.1.147.2.30  
changed lines
  Added in v.1.147.2.31


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