From 8d9629e1ded0004334632d1c9679380ed24339b1 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 23 Jan 2003 22:55:01 +0000 Subject: [PATCH] fix logging and uninitialized value warning --- servers/slapd/search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/search.c b/servers/slapd/search.c index 801600be90..720992c58b 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -58,7 +58,7 @@ do_search( const char *text; int manageDSAit; #ifdef LDAP_SLAPI - Slapi_PBlock *pb; + Slapi_PBlock *pb = NULL; char **attrs = NULL; #endif @@ -516,7 +516,7 @@ static int doSearchRewriteFNs( Backend *be, Slapi_PBlock *pb, Filter **filter, s #ifdef NEW_LOGGING LDAP_LOG( OPERATION, ARGS, "doSearchRewriteFNs: after compute_rewrite_search filter: %s\n", - fstr->bv_len ? fstr->bv_val : "empty", 0 ); + fstr->bv_len ? fstr->bv_val : "empty", 0, 0 ); #else Debug( LDAP_DEBUG_ARGS, " after compute_rewrite_search filter: %s\n", fstr->bv_len ? fstr->bv_val : "empty", 0, 0 ); -- 2.39.5