From 9ccf63f327523684c2c6e2608a00614e20b19956 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 21 Nov 2002 22:37:06 +0000 Subject: [PATCH] remove paged results cruft --- servers/slapd/controls.c | 5 ----- 1 file changed, 5 deletions(-) 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 ) { -- 2.39.5