summaryrefslogtreecommitdiffstats
path: root/src/util/sss_utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/sss_utf8.c')
-rw-r--r--src/util/sss_utf8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/sss_utf8.c b/src/util/sss_utf8.c
index 27c5cb60a..fd0bfb654 100644
--- a/src/util/sss_utf8.c
+++ b/src/util/sss_utf8.c
@@ -175,8 +175,10 @@ errno_t sss_utf8_case_eq(const uint8_t *s1, const uint8_t *s2)
bool sss_string_equal(bool cs, const char *s1, const char *s2)
{
if (cs) {
+ DEBUG(SSSDBG_TRACE_ALL, ("Case-sensitive comparison of [%s] and [%s]\n", s1, s2));
return strcmp(s1, s2) == 0;
}
+ DEBUG(SSSDBG_TRACE_ALL, ("Case-insensitive comparison of [%s] and [%s]\n", s1, s2));
return sss_utf8_case_eq((const uint8_t *)s1, (const uint8_t *)s2) == EOK;
}