]> git.sur5r.net Git - openldap/commitdiff
remove paged results cruft
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Nov 2002 22:37:06 +0000 (22:37 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Nov 2002 22:37:06 +0000 (22:37 +0000)
servers/slapd/controls.c

index f32a4a41a01ea2be0ea2b74750a75a21f570c3e9..81ec83508958b9e2405c30495b03f4bb3c07f86e 100644 (file)
@@ -155,12 +155,7 @@ int get_ctrls(
        }
 
        /* one for first control, one for termination */
-#ifndef LDAP_CONTROL_PAGEDRESULTS
        op->o_ctrls = ch_malloc( 2 * sizeof(LDAPControl *) );
-#else /* LDAP_CONTROL_PAGEDRESULTS */
-       /* FIXME: are we sure we need this? */
-       op->o_ctrls = ch_malloc( 3 * sizeof(LDAPControl *) );
-#endif /* LDAP_CONTROL_PAGEDRESULTS */
 
 #if 0
        if( op->ctrls == NULL ) {