diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-15 18:21:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-15 18:21:33 +0000 |
commit | 683c656dd87e82ec9e2d05f72a7b7e1c7269bfd6 (patch) | |
tree | dbd36275d84fe57ae7e60f7765275b1ad1f13ed1 /protocols/AimOscar/src/proxy.cpp | |
parent | a9fc5c1795cea571927f6ff4ceb8701ffe609ad4 (diff) |
ProtoBroadcastAck - unified helper for all protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@4962 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/proxy.cpp')
-rw-r--r-- | protocols/AimOscar/src/proxy.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/AimOscar/src/proxy.cpp b/protocols/AimOscar/src/proxy.cpp index ee7927adc7..f3cc734127 100644 --- a/protocols/AimOscar/src/proxy.cpp +++ b/protocols/AimOscar/src/proxy.cpp @@ -44,12 +44,12 @@ void __cdecl CAimProto::aim_proxy_helper(void* param) int recvResult = CallService(MS_NETLIB_GETMOREPACKETS, (WPARAM)hServerPacketRecver, (LPARAM)&packetRecv);
if (recvResult == 0)
{
- sendBroadcast(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
+ ProtoBroadcastAck(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
break;
}
if (recvResult == SOCKET_ERROR)
{
- sendBroadcast(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
+ ProtoBroadcastAck(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
break;
}
if (recvResult > 0)
@@ -100,7 +100,7 @@ void __cdecl CAimProto::aim_proxy_helper(void* param) ft->accepted = true;
}
- sendBroadcast(ft->hContact, ACKTYPE_FILE, ACKRESULT_CONNECTED, ft, 0);
+ ProtoBroadcastAck(ft->hContact, ACKTYPE_FILE, ACKRESULT_CONNECTED, ft, 0);
int i;
for (i = 21; --i; )
@@ -111,7 +111,7 @@ void __cdecl CAimProto::aim_proxy_helper(void* param) }
if (i == 0)
{
- sendBroadcast(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
+ ProtoBroadcastAck(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
break;
}
@@ -123,7 +123,7 @@ void __cdecl CAimProto::aim_proxy_helper(void* param) else
result = receiving_file(ft, hServerPacketRecver, packetRecv);
- sendBroadcast(ft->hContact, ACKTYPE_FILE, result ? ACKRESULT_FAILED : ACKRESULT_SUCCESS, ft, 0);
+ ProtoBroadcastAck(ft->hContact, ACKTYPE_FILE, result ? ACKRESULT_FAILED : ACKRESULT_SUCCESS, ft, 0);
break;
}
}
|