summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-13 17:47:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-13 17:47:33 +0300
commit20a9f536e44c3928ad8c3cf7a2959bce557dab8e (patch)
tree0b17f148a4155a1ead90bb106e21b3542f2572e0 /protocols/MSN/src/msn_misc.cpp
parente145db68fb5b7d0682a4b2be0174cebfe47dd74e (diff)
(wiping blood from hands) no more netlib services
Diffstat (limited to 'protocols/MSN/src/msn_misc.cpp')
-rw-r--r--protocols/MSN/src/msn_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp
index 2f89d21fbe..cc620c1dc1 100644
--- a/protocols/MSN/src/msn_misc.cpp
+++ b/protocols/MSN/src/msn_misc.cpp
@@ -1396,7 +1396,7 @@ void MSN_MakeDigest(const char* chl, char* dgst)
char* GetGlobalIp(void)
{
- NETLIBIPLIST* ihaddr = (NETLIBIPLIST*)CallService(MS_NETLIB_GETMYIP, 1, 0);
+ NETLIBIPLIST *ihaddr = Netlib_GetMyIp(true);
for (unsigned i = 0; i < ihaddr->cbNum; ++i)
if (strchr(ihaddr->szIp[i], ':'))
return mir_strdup(ihaddr->szIp[i]);