From: Pierangelo Masarati Date: Thu, 21 Nov 2002 22:37:06 +0000 (+0000) Subject: remove paged results cruft X-Git-Tag: NO_SLAP_OP_BLOCKS~780 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9ccf63f327523684c2c6e2608a00614e20b19956;p=openldap remove paged results cruft --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index f32a4a41a0..81ec835089 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -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 ) {