]> git.sur5r.net Git - openldap/commitdiff
ITS#3551 return SLAPD_ABANDON on abandon...
authorHoward Chu <hyc@openldap.org>
Sat, 19 Feb 2005 12:10:40 +0000 (12:10 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 19 Feb 2005 12:10:40 +0000 (12:10 +0000)
servers/slapd/overlays/glue.c

index a09176e5c71f45dc92fc10cdd8f688b698b0a602..b5e53f13c868c6aed96268e374bf32e666eccecc 100644 (file)
@@ -396,7 +396,9 @@ end_of_loop:;
 
                break;
        }
-       if ( !op->o_abandon ) {
+       if ( op->o_abandon ) {
+               rs->sr_err = SLAPD_ABANDON;
+       } else {
                op->o_callback = cb.sc_next;
                rs->sr_err = gs.err;
                rs->sr_matched = gs.matched;