浏览代码

Comment out debug print

yhirose 6 年之前
父节点
当前提交
097c61b871
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -2422,8 +2422,8 @@ inline bool SSLClient::is_ssl() const { return true; }
 
 inline bool SSLClient::check_host(const std::string &host,
                                   const char *pattern) const {
-  printf("host: %s, pattern: %s\n", host.c_str(), pattern);
   // TODO: Wildcard
+  // printf("host: %s, pattern: %s\n", host.c_str(), pattern);
   return host == pattern;
 }