Fix SORTED_RESULTS check

This commit is contained in:
Howard Chu 2007-08-29 23:57:55 +00:00
parent 96621c71d4
commit f9bc1426ad

View File

@ -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;