summaryrefslogtreecommitdiff
path: root/node/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Utils.cpp')
-rw-r--r--node/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Utils.cpp b/node/Utils.cpp
index 7a4d51ba..b6284fca 100644
--- a/node/Utils.cpp
+++ b/node/Utils.cpp
@@ -231,7 +231,7 @@ std::map<std::string,bool> Utils::listDirectory(const char *path)
if (readdir_r(d,&de,&dptr))
break;
if (dptr) {
- if ((!strcmp(dptr->d_name,"."))&&(!strcmp(dptr->d_name,"..")))
+ if ((strcmp(dptr->d_name,"."))&&(strcmp(dptr->d_name,"..")))
r[std::string(dptr->d_name)] = (dptr->d_type == DT_DIR);
} else break;
}