From: Kurt Zeilenga Date: Wed, 11 Dec 2002 02:07:28 +0000 (+0000) Subject: null base fix X-Git-Tag: OPENLDAP_REL_ENG_2_1_10~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e8fa4266553144804e5382ae739a0a320b47d7bb;p=openldap null base fix --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 53d131935c..5c86891794 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1036,7 +1036,7 @@ main( int argc, char **argv ) "# filter%s: %s\n" "# requesting: ", version, - base, (scope == LDAP_SCOPE_BASE) ? "base" + base ? base : "", (scope == LDAP_SCOPE_BASE) ? "base" : ((scope == LDAP_SCOPE_ONELEVEL) ? "one" : "sub"), infile != NULL ? " pattern" : "", filtpattern );