Procházet zdrojové kódy

Revert "Fix #2325"

This reverts commit 7dec57d1eb5c84b9112caeaab7ee37e6e075d466.
yhirose před 2 týdny
rodič
revize
c0469eba96
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -4833,7 +4833,7 @@ socket_t create_socket(const std::string &host, const std::string &ip, int port,
                        bool ipv6_v6only, SocketOptions socket_options,
                        BindOrConnect bind_or_connect, time_t timeout_sec = 0) {
   // Get address info
-  const char *node = "";
+  const char *node = nullptr;
   struct addrinfo hints;
   struct addrinfo *result;