]> git.sur5r.net Git - openldap/commitdiff
ITS#3182 ? clear ctrls after sending paged response
authorHoward Chu <hyc@openldap.org>
Sat, 12 Jun 2004 12:29:18 +0000 (12:29 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 12 Jun 2004 12:29:18 +0000 (12:29 +0000)
servers/slapd/back-bdb/search.c

index 92db06242dabf82a52a3c471c7b7dbbb090dbc22..dc11638b4510955da4236e4f61c1d7e392a01924 100644 (file)
@@ -1751,6 +1751,7 @@ send_paged_response(
        rs->sr_ctrls = ctrls;
        rs->sr_err = LDAP_SUCCESS;
        send_ldap_result( op, rs );
+       rs->sr_ctrls = NULL;
 
 done:
        (void) ber_free_buf( ber );