From 28a73b620e60dd5d9c77aa7494d4c71da8b1d08c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 6 Aug 2013 01:28:56 -0400 Subject: Bunch more debugging and loop closing on new netconf. --- node/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Utils.cpp') 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 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; } -- cgit v1.2.3