From 2571449ee3b4cfb36a4eac6a3d1e597a7c7e209f Mon Sep 17 00:00:00 2001 From: jmorrill Date: Tue, 12 Nov 2019 08:50:06 -0800 Subject: [PATCH] Fix incorrect call to Unicode Win32 InetPton (#4306) * Fix incorrect call to Unicode Win32 * Removed inet_pton call. Win32 already has it. --- src/common/socket.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/socket.h b/src/common/socket.h index 616991d021d1..07fcfa83c99e 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -58,9 +58,6 @@ static inline int poll(struct pollfd *pfd, int nfds, int timeout) { return WSAPoll(pfd, nfds, timeout); } -static inline int inet_pton(int family, const char* addr_str, void* addr_buf) { - return InetPton(family, addr_str, addr_buf); -} #else #include #endif // defined(_WIN32)