From: Howard Chu Date: Wed, 12 Jan 2005 02:32:48 +0000 (+0000) Subject: More cleanup for prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~418 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=16f3cdeb19abd4c651b37df8b1a73eb9bd8e08f9;p=openldap More cleanup for prev commit --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 0bdf978ffa..fcb25fc175 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -886,12 +886,7 @@ syncprov_op_abandon( Operation *op, SlapReply *rs ) rs->sr_err = LDAP_CANCELLED; send_ldap_result( so->s_op, rs ); } - /* Our cloned searches have no ctrls set. - * we don't want to muck with real search ops - * from the frontend. - */ - if ( ! so->s_op->o_sync ) - syncprov_drop_psearch( so, 0 ); + syncprov_drop_psearch( so, 0 ); } return SLAP_CB_CONTINUE; }