Skip to content

Commit 5e072b6

Browse files
SDAP: use DEBUG_CONDITIONAL in hot path
1 parent e047885 commit 5e072b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/ldap/sdap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ errno_t sdap_get_primary_name(const char *attr_name,
18411841
}
18421842
talloc_free(tmp_ctx);
18431843

1844-
DEBUG(SSSDBG_TRACE_FUNC, "Processing object %s\n", orig_name);
1844+
DEBUG_CONDITIONAL(SSSDBG_TRACE_FUNC, "Processing object %s\n", orig_name);
18451845

18461846
*_primary_name = orig_name;
18471847

0 commit comments

Comments
 (0)