summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_fd_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ldap/sdap_fd_events.c')
-rw-r--r--src/providers/ldap/sdap_fd_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_fd_events.c b/src/providers/ldap/sdap_fd_events.c
index 4fb67b82..3750da77 100644
--- a/src/providers/ldap/sdap_fd_events.c
+++ b/src/providers/ldap/sdap_fd_events.c
@@ -104,7 +104,7 @@ static int sdap_ldap_connect_callback_add(LDAP *ld, Sockbuf *sb,
return EINVAL;
}
- if (debug_level >= 7) {
+ if (DEBUG_IS_SET(SSSDBG_TRACE_LIBS)) {
char *uri = ldap_url_desc2str(srv);
DEBUG(7, ("New LDAP connection to [%s] with fd [%d].\n",
uri, ber_fd));