summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/direct_connect.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/AimOscar/src/direct_connect.cpp
parente145db68fb5b7d0682a4b2be0174cebfe47dd74e (diff)
(wiping blood from hands) no more netlib services
Diffstat (limited to 'protocols/AimOscar/src/direct_connect.cpp')
-rw-r--r--protocols/AimOscar/src/direct_connect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/AimOscar/src/direct_connect.cpp b/protocols/AimOscar/src/direct_connect.cpp
index 2b4bcb9366..6f9eecf76b 100644
--- a/protocols/AimOscar/src/direct_connect.cpp
+++ b/protocols/AimOscar/src/direct_connect.cpp
@@ -65,8 +65,8 @@ void aim_direct_connection_initiated(HANDLE hNewConnection, DWORD, void* extra)/
{
CAimProto *ppro = (CAimProto*)extra;
- NETLIBCONNINFO connInfo = { sizeof(connInfo) };
- CallService(MS_NETLIB_GETCONNECTIONINFO, (WPARAM)hNewConnection, (LPARAM)&connInfo);
+ NETLIBCONNINFO connInfo = {};
+ Netlib_GetConnectionInfo(hNewConnection, &connInfo);
ppro->debugLogA("Buddy connected: %s", connInfo.szIpPort);