mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
remove paged results cruft
This commit is contained in:
parent
e8439a9276
commit
9ccf63f327
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user