]> git.sur5r.net Git - openldap/commitdiff
More cleanup for prev commit
authorHoward Chu <hyc@openldap.org>
Wed, 12 Jan 2005 02:32:48 +0000 (02:32 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 12 Jan 2005 02:32:48 +0000 (02:32 +0000)
servers/slapd/overlays/syncprov.c

index 0bdf978ffa6690c25aa575bde473972f1d8afd42..fcb25fc175b9d3ea9d2cfcba5972941d8099ffe8 100644 (file)
@@ -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;
 }