From cb594c7128b9b09ff8c5e307124be4c4028e172e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 13 Jul 2009 01:57:25 +0000 Subject: [PATCH] Fix typo in derefcrit control --- clients/tools/ldapsearch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index e10c9b3357..36be9ee9e8 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1117,9 +1117,9 @@ getNextPage: sss > 1 ? _("critical ") : "" ); } #ifdef LDAP_CONTROL_X_DEREF - if ( sss ) { + if ( derefcrit ) { printf(_("\n# with dereference %scontrol"), - sss > 1 ? _("critical ") : "" ); + derefcrit > 1 ? _("critical ") : "" ); } #endif