Diff for /servers/slapd/overlays/syncprov.c between versions 1.56.2.9 and 1.89

version 1.56.2.9, 2005/07/11 05:55:33 version 1.89, 2005/07/14 17:32:21
Line 159  syncprov_state_ctrl( Line 159  syncprov_state_ctrl(
 {  {
         Attribute* a;          Attribute* a;
         int ret;          int ret;
         int res;  
         const char *text = NULL;  
   
         BerElementBuffer berbuf;          BerElementBuffer berbuf;
         BerElement *ber = (BerElement *)&berbuf;          BerElement *ber = (BerElement *)&berbuf;
Line 402  syncprov_findbase( Operation *op, fbase_ Line 400  syncprov_findbase( Operation *op, fbase_
 {  {
         opcookie *opc = op->o_callback->sc_private;          opcookie *opc = op->o_callback->sc_private;
         slap_overinst *on = opc->son;          slap_overinst *on = opc->son;
         syncprov_info_t         *si = on->on_bi.bi_private;  
   
         slap_callback cb = {0};          slap_callback cb = {0};
         Operation fop;          Operation fop;
Line 746  static int Line 743  static int
 syncprov_sendresp( Operation *op, opcookie *opc, syncops *so, Entry **e, int mode, int queue )  syncprov_sendresp( Operation *op, opcookie *opc, syncops *so, Entry **e, int mode, int queue )
 {  {
         slap_overinst *on = opc->son;          slap_overinst *on = opc->son;
         syncprov_info_t *si = on->on_bi.bi_private;  
   
         SlapReply rs = { REP_SEARCH };          SlapReply rs = { REP_SEARCH };
         LDAPControl *ctrls[2];          LDAPControl *ctrls[2];
Line 1231  syncprov_playlog( Operation *op, SlapRep Line 1227  syncprov_playlog( Operation *op, SlapRep
         struct berval *oldcsn, struct berval *ctxcsn )          struct berval *oldcsn, struct berval *ctxcsn )
 {  {
         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;  
         slog_entry *se;          slog_entry *se;
         int i, j, ndel, num, nmods, mmods;          int i, j, ndel, num, nmods, mmods;
         BerVarray uuids;          BerVarray uuids;
Line 1692  syncprov_search_response( Operation *op, Line 1687  syncprov_search_response( Operation *op,
 {  {
         searchstate *ss = op->o_callback->sc_private;          searchstate *ss = op->o_callback->sc_private;
         slap_overinst *on = ss->ss_on;          slap_overinst *on = ss->ss_on;
         syncprov_info_t         *si = on->on_bi.bi_private;  
         sync_control *srs = op->o_controls[slap_cids.sc_LDAPsync];          sync_control *srs = op->o_controls[slap_cids.sc_LDAPsync];
   
         if ( rs->sr_type == REP_SEARCH || rs->sr_type == REP_SEARCHREF ) {          if ( rs->sr_type == REP_SEARCH || rs->sr_type == REP_SEARCHREF ) {
                 int i;  
                 /* If we got a referral without a referral object, there's                  /* If we got a referral without a referral object, there's
                  * something missing that we cannot replicate. Just ignore it.                   * something missing that we cannot replicate. Just ignore it.
                  * The consumer will abort because we didn't send the expected                   * The consumer will abort because we didn't send the expected

Removed from v.1.56.2.9  
changed lines
  Added in v.1.89


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