From: Howard Chu Date: Wed, 29 Aug 2007 23:57:55 +0000 (+0000) Subject: Fix SORTED_RESULTS check X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9bc1426ad4d5959b37981c8927f25611e682dae;p=openldap Fix SORTED_RESULTS check --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index a4bd781e78..4368bf8e4a 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -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;