Fix Solaris SEGV when base is not specified

This commit is contained in:
Howard Chu 2002-12-04 16:47:35 +00:00
parent d7c0a19aab
commit 5efa571ad2

View File

@ -1191,7 +1191,7 @@ getNextPage:
"# 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 );