mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
Fix SORTED_RESULTS check
This commit is contained in:
parent
96621c71d4
commit
f9bc1426ad
@ -239,7 +239,7 @@ send_ldap_controls( Operation *o, BerElement *ber, LDAPControl **c )
|
||||
if( rc == -1 ) return rc;
|
||||
}
|
||||
|
||||
#ifdef SLAP_SORTED_RESULTS
|
||||
#ifdef SLAP_CONTROL_X_SORTEDRESULTS
|
||||
/* this is a hack to avoid having to modify op->s_ctrls */
|
||||
if( o->o_sortedresults ) {
|
||||
BerElementBuffer berbuf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user