Przeglądaj źródła

Remove debug printf.

Adam Ierymenko 8 lat temu
rodzic
commit
bad4b72f82
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      service/OneService.cpp

+ 1 - 3
service/OneService.cpp

@@ -2001,10 +2001,8 @@ public:
 		{
 			Mutex::Lock _l(_localConfig_m);
 			for(std::vector<std::string>::const_iterator p(_interfacePrefixBlacklist.begin());p!=_interfacePrefixBlacklist.end();++p) {
-				if (!strncmp(p->c_str(),ifname,p->length())) {
-					printf("%s\n",ifname);
+				if (!strncmp(p->c_str(),ifname,p->length()))
 					return false;
-				}
 			}
 		}