summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_filerequests.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-06 23:31:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-06 23:31:56 +0300
commitf7cfd1068128e6a7da7d69d1de035b6c70028e17 (patch)
treef6ddc1206a47661f1e4c95541c15bfdbbd5b5930 /protocols/IcqOscarJ/src/icq_filerequests.cpp
parent17d8c0bb68eef6817c1f03a2abd5752e01b93ce9 (diff)
strange hand-made array removed
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_filerequests.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_filerequests.cpp5
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);
}
}