Browse Source

Remove debug printf.

Adam Ierymenko 8 năm trước cách đây
mục cha
commit
bad4b72f82
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  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;
-				}
 			}
 		}