summaryrefslogtreecommitdiff
path: root/protocols/Telegram
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-01-01 12:53:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-01-01 12:53:12 +0300
commitb453b95cae4275f3f79ef229bed8e337a6b58f83 (patch)
treeb055f312b2411eea7e64e97c245dd54a9358735f /protocols/Telegram
parent2df409fb1d25257e4973b0cf4792d75215d19c0e (diff)
oops...
Diffstat (limited to 'protocols/Telegram')
-rw-r--r--protocols/Telegram/tdlib/td/tdutils/td/utils/port/inet_ntop.cpp2
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 );