summaryrefslogtreecommitdiff
path: root/node/Utils.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-06 01:28:56 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-06 01:28:56 -0400
commit28a73b620e60dd5d9c77aa7494d4c71da8b1d08c (patch)
tree5b708b71a3703afd52301a6e0fc1a4e192db6a73 /node/Utils.cpp
parente73c4cb68b7461b8a2bdf7b6e5919bd0fcef2c1e (diff)
downloadinfinitytier-28a73b620e60dd5d9c77aa7494d4c71da8b1d08c.tar.gz
infinitytier-28a73b620e60dd5d9c77aa7494d4c71da8b1d08c.zip
Bunch more debugging and loop closing on new netconf.
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;
}