]> git.sur5r.net Git - openldap/commitdiff
Set ors_slimit in slap_read_controls so that slap_send_search_entry()
authorLuke Howard <lukeh@openldap.org>
Sat, 24 Dec 2005 07:40:12 +0000 (07:40 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 24 Dec 2005 07:40:12 +0000 (07:40 +0000)
check passes

servers/slapd/result.c

index 2636d51d6b769a522bd34763233437f9d14e70ae..5d56d96825730f494bb30f28078c0a21e95def6b 100644 (file)
@@ -1484,6 +1484,7 @@ int slap_read_controls(
        myop.o_bd = NULL;
        myop.o_res_ber = ber;
        myop.o_callback = NULL;
+       myop.ors_slimit = 1;
 
        rc = slap_send_search_entry( &myop, rs );
        if( rc ) return rc;