|
|
@@ -5730,7 +5730,7 @@ inline int getaddrinfo_with_timeout(const char *node, const char *service,
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
// Windows-specific implementation using GetAddrInfoEx with overlapped I/O
|
|
|
- OVERLAPPED overlapped = {0};
|
|
|
+ OVERLAPPED overlapped = {};
|
|
|
HANDLE event = CreateEventW(nullptr, TRUE, FALSE, nullptr);
|
|
|
if (!event) { return EAI_FAIL; }
|
|
|
|
|
|
@@ -5739,7 +5739,7 @@ inline int getaddrinfo_with_timeout(const char *node, const char *service,
|
|
|
PADDRINFOEXW result_addrinfo = nullptr;
|
|
|
HANDLE cancel_handle = nullptr;
|
|
|
|
|
|
- ADDRINFOEXW hints_ex = {0};
|
|
|
+ ADDRINFOEXW hints_ex = {};
|
|
|
if (hints) {
|
|
|
hints_ex.ai_flags = hints->ai_flags;
|
|
|
hints_ex.ai_family = hints->ai_family;
|