]> git.sur5r.net Git - openldap/commitdiff
Fix typo in derefcrit control
authorHoward Chu <hyc@openldap.org>
Mon, 13 Jul 2009 01:57:25 +0000 (01:57 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 13 Jul 2009 01:57:25 +0000 (01:57 +0000)
clients/tools/ldapsearch.c

index e10c9b33574c16ca79be8184f91aef4425d30e10..36be9ee9e87fc9e908aaad9a68f88a7ad764be88 100644 (file)
@@ -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