remove paged results cruft

This commit is contained in:
Pierangelo Masarati 2002-11-21 22:37:06 +00:00
parent e8439a9276
commit 9ccf63f327

View 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 ) {