mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
fix logging and uninitialized value warning
This commit is contained in:
parent
5a771fcac0
commit
8d9629e1de
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user