Diff for /servers/slapd/overlays/syncprov.c between versions 1.123 and 1.124

version 1.123, 2005/11/03 21:51:27 version 1.124, 2005/11/07 23:40:20
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.122 2005/11/03 00:27:08 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.123 2005/11/03 21:51:27 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.123  
changed lines
  Added in v.1.124


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