]> git.sur5r.net Git - openldap/commitdiff
Fix typo in derefcrit control
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 22 Jul 2009 21:40:05 +0000 (21:40 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 22 Jul 2009 21:40:05 +0000 (21:40 +0000)
clients/tools/ldapsearch.c

index eaa95920a2370a7015278e17fe7de87d12e2aacb..7c5963be91daa986346e699530d0a25f4e9d79e1 100644 (file)
@@ -1107,9 +1107,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