diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-18 21:52:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-18 21:52:06 +0000 |
commit | 47e5e82a35999401cc7676cd19a4b8b289a2024c (patch) | |
tree | 20449be9036d3d2503b49f4c2ba481be99261c66 /protocols/AimOscar/proto.cpp | |
parent | bb7bf61220abb44c385deabda02daed66e9e2389 (diff) |
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@1030 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/proto.cpp')
-rw-r--r-- | protocols/AimOscar/proto.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/AimOscar/proto.cpp b/protocols/AimOscar/proto.cpp index c8ea97f3d7..b79f95927c 100644 --- a/protocols/AimOscar/proto.cpp +++ b/protocols/AimOscar/proto.cpp @@ -81,8 +81,6 @@ CAimProto::~CAimProto() RemoveMainMenus();
RemoveContactMenus();
- if(hDirectBoundPort)
- Netlib_CloseHandle(hDirectBoundPort);
if(hServerConn)
Netlib_CloseHandle(hServerConn);
if(hAvatarConn && hAvatarConn != (HANDLE)1)
@@ -571,7 +569,8 @@ HANDLE __cdecl CAimProto::SendFile(HANDLE hContact, const PROTOCHAR* szDescripti }
else
{
- aim_send_file(hServerConn, seqno, detected_ip, local_port, false, ft);
+ ft->listen(this);
+ aim_send_file(hServerConn, seqno, detected_ip, ft->local_port, false, ft);
}
DBFreeVariant(&dbv);
|