Diff for /servers/slapd/overlays/syncprov.c between versions 1.59 and 1.60

version 1.59, 2005/01/01 19:49:58 version 1.60, 2005/01/08 08:59:53
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.58 2004/12/31 11:02:35 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.59 2005/01/01 19:49:58 kurt 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 1611  syncprov_search_response( Operation *op, Line 1611  syncprov_search_response( Operation *op,
                 if ( srs->sr_state.ctxcsn ) {                  if ( srs->sr_state.ctxcsn ) {
                         Attribute *a = attr_find( rs->sr_entry->e_attrs,                          Attribute *a = attr_find( rs->sr_entry->e_attrs,
                                 slap_schema.si_ad_entryCSN );                                  slap_schema.si_ad_entryCSN );
                           
                         /* Don't send the ctx entry twice */                          /* Don't send the ctx entry twice */
                         if ( bvmatch( &a->a_nvals[0], srs->sr_state.ctxcsn ))                          if ( a && bvmatch( &a->a_nvals[0], srs->sr_state.ctxcsn ) )
                                 return LDAP_SUCCESS;                                  return LDAP_SUCCESS;
                 }                  }
                 rs->sr_ctrls = op->o_tmpalloc( sizeof(LDAPControl *)*2,                  rs->sr_ctrls = op->o_tmpalloc( sizeof(LDAPControl *)*2,

Removed from v.1.59  
changed lines
  Added in v.1.60


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