summaryrefslogtreecommitdiffstats
path: root/daemon/realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/realpath.c')
-rw-r--r--daemon/realpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/realpath.c b/daemon/realpath.c
index 0dc5fa5c..17e74ea7 100644
--- a/daemon/realpath.c
+++ b/daemon/realpath.c
@@ -113,7 +113,7 @@ do_case_sensitive_path (const char *path)
errno = 0;
while ((d = readdir (dir)) != NULL) {
- if (strcasecmp (d->d_name, name) == 0)
+ if (STRCASEEQ (d->d_name, name))
break;
}