From f9bc1426ad4d5959b37981c8927f25611e682dae Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 29 Aug 2007 23:57:55 +0000 Subject: [PATCH] Fix SORTED_RESULTS check --- servers/slapd/result.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5