diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-06 23:31:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-06 23:31:56 +0300 |
commit | f7cfd1068128e6a7da7d69d1de035b6c70028e17 (patch) | |
tree | f6ddc1206a47661f1e4c95541c15bfdbbd5b5930 /protocols/IcqOscarJ/src/icq_filerequests.cpp | |
parent | 17d8c0bb68eef6817c1f03a2abd5752e01b93ce9 (diff) |
strange hand-made array removed
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_filerequests.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_filerequests.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_filerequests.cpp b/protocols/IcqOscarJ/src/icq_filerequests.cpp index f1855ce4b4..63a3bcd1ec 100644 --- a/protocols/IcqOscarJ/src/icq_filerequests.cpp +++ b/protocols/IcqOscarJ/src/icq_filerequests.cpp @@ -185,8 +185,7 @@ void CIcqProto::icq_CancelFileTransfer(filetransfer* ft) ProtoBroadcastAck(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
- if (!FindFileTransferDC(ft)) { // Release orphan structure only
- SafeReleaseFileTransfer((void**)&ft);
- }
+ if (!FindFileTransferDC(ft)) // Release orphan structure only
+ SafeReleaseFileTransfer((basic_filetransfer**)&ft);
}
}
|