summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index ccbce1f..40cc31f 100644
--- a/util.c
+++ b/util.c
@@ -272,7 +272,7 @@ char* r_readdir(r_dir_t *rdir) {
while (true) {
if (rdir->dir != NULL && (dentry = readdir(rdir->dir)) != NULL) {
- if (streq(dentry->d_name, ".") || streq(dentry->d_name, ".."))
+ if (STREQ(dentry->d_name, ".") || STREQ(dentry->d_name, ".."))
continue;
len = strlen(rdir->name) + strlen(dentry->d_name) + 2;