Diff for /servers/slapd/overlays/syncprov.c between versions 1.56.2.20 and 1.56.2.21

version 1.56.2.20, 2005/11/04 23:08:35 version 1.56.2.21, 2005/11/14 18:06:14
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.56.2.19 2005/11/03 18:03:02 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.124 2005/11/07 23:40:20 ando 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 483  syncprov_findbase( Operation *op, fbase_ Line 483  syncprov_findbase( Operation *op, fbase_
  * CSN, and generate Present records for them. We always collect this result   * CSN, and generate Present records for them. We always collect this result
  * in SyncID sets, even if there's only one match.   * in SyncID sets, even if there's only one match.
  */   */
 #define FIND_MAXCSN     1  typedef enum find_csn_t {
 #define FIND_CSN        2          FIND_MAXCSN     = 1,
 #define FIND_PRESENT    3          FIND_CSN        = 2,
           FIND_PRESENT    = 3
   } find_csn_t;
   
 static int  static int
 findmax_cb( Operation *op, SlapReply *rs )  findmax_cb( Operation *op, SlapReply *rs )
Line 564  findpres_cb( Operation *op, SlapReply *r Line 566  findpres_cb( Operation *op, SlapReply *r
 }  }
   
 static int  static int
 syncprov_findcsn( Operation *op, int mode )  syncprov_findcsn( Operation *op, find_csn_t mode )
 {  {
         slap_overinst           *on = (slap_overinst *)op->o_bd->bd_info;          slap_overinst           *on = (slap_overinst *)op->o_bd->bd_info;
         syncprov_info_t         *si = on->on_bi.bi_private;          syncprov_info_t         *si = on->on_bi.bi_private;

Removed from v.1.56.2.20  
changed lines
  Added in v.1.56.2.21


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