Diff for /servers/slapd/overlays/syncprov.c between versions 1.332 and 1.333

version 1.332, 2011/01/13 21:45:59 version 1.333, 2011/01/18 01:24:35
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.331 2011/01/13 21:23:05 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.332 2011/01/13 21:45:59 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 2330  syncprov_search_response( Operation *op, Line 2330  syncprov_search_response( Operation *op,
                 rs->sr_ctrls = op->o_tmpalloc( sizeof(LDAPControl *)*2,                  rs->sr_ctrls = op->o_tmpalloc( sizeof(LDAPControl *)*2,
                         op->o_tmpmemctx );                          op->o_tmpmemctx );
                 rs->sr_ctrls[1] = NULL;                  rs->sr_ctrls[1] = NULL;
                   rs->sr_flags |= REP_CTRLS_MUSTBEFREED;
                 /* If we're in delta-sync mode, always send a cookie */                  /* If we're in delta-sync mode, always send a cookie */
                 if ( si->si_nopres && si->si_usehint && a ) {                  if ( si->si_nopres && si->si_usehint && a ) {
                         struct berval cookie;                          struct berval cookie;

Removed from v.1.332  
changed lines
  Added in v.1.333


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