浏览代码

Remove debug printf.

Adam Ierymenko 8 年之前
父节点
当前提交
bad4b72f82
共有 1 个文件被更改,包括 1 次插入3 次删除
  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;
-				}
 			}
 		}