diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-04-03 18:42:43 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-18 10:23:55 -0400 |
commit | bd09ead65cded3207cf228c44a31bbc87c2979bd (patch) | |
tree | 91d7abf452011afdbef9c42a3eb7d59fa8768a83 /src/providers/ldap/sdap_async.c | |
parent | 7329723a5d8ce46f146e78dabfad5c94b3eed505 (diff) | |
download | sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.tar.gz sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.tar.bz2 sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.zip |
Prevent printing NULL from DEBUG messages
Diffstat (limited to 'src/providers/ldap/sdap_async.c')
-rw-r--r-- | src/providers/ldap/sdap_async.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index 076a3f22..b21d9c38 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -1155,8 +1155,10 @@ static errno_t sdap_get_generic_ext_step(struct tevent_req *req) */ talloc_zfree(state->op); - DEBUG(6, ("calling ldap_search_ext with [%s][%s].\n", state->filter, - state->search_base)); + DEBUG(SSSDBG_TRACE_FUNC, + ("calling ldap_search_ext with [%s][%s].\n", + state->filter ? state->filter : "no filter", + state->search_base)); if (DEBUG_IS_SET(SSSDBG_TRACE_LIBS)) { int i; |