From e8fa4266553144804e5382ae739a0a320b47d7bb Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 11 Dec 2002 02:07:28 +0000 Subject: [PATCH] null base fix --- clients/tools/ldapsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5