diff options
-rw-r--r-- | protocols/Telegram/tdlib/td/tdutils/td/utils/port/inet_ntop.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Telegram/tdlib/td/tdutils/td/utils/port/inet_ntop.cpp b/protocols/Telegram/tdlib/td/tdutils/td/utils/port/inet_ntop.cpp index df018cb3f0..b564c27064 100644 --- a/protocols/Telegram/tdlib/td/tdutils/td/utils/port/inet_ntop.cpp +++ b/protocols/Telegram/tdlib/td/tdutils/td/utils/port/inet_ntop.cpp @@ -137,9 +137,11 @@ LPCSTR WSAAPI inet_ntop_(INT af, PVOID src, LPSTR dst, size_t size) switch (af) { case AF_INET : pdst = inet_ntop_v4 (src, dst, size); + break; case AF_INET6 : pdst = inet_ntop_v6 (src, dst, size); + break; default: WSASetLastError( WSAEAFNOSUPPORT ); |