fix logging and uninitialized value warning

This commit is contained in:
Pierangelo Masarati 2003-01-23 22:55:01 +00:00
parent 5a771fcac0
commit 8d9629e1de

View File

@ -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 );