Quellcode durchsuchen

Comment out debug print

yhirose vor 6 Jahren
Ursprung
Commit
097c61b871
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;
 }