From b453b95cae4275f3f79ef229bed8e337a6b58f83 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 1 Jan 2023 12:53:12 +0300 Subject: oops... --- protocols/Telegram/tdlib/td/tdutils/td/utils/port/inet_ntop.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols') 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 ); -- cgit v1.2.3