summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-01-13 19:52:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-01-13 19:52:57 +0300
commit26e02306cb441f50269e7ecbdfc42567793128b9 (patch)
tree9f2256fe2fea57805110f82a2d70ade15f70245a
parent51ccfb874ece51a0bdd08226d190ddf86a6013fd (diff)
oops
-rw-r--r--protocols/JabberG/src/jabber_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp
index 8bedca6f28..e76e81b123 100644
--- a/protocols/JabberG/src/jabber_file.cpp
+++ b/protocols/JabberG/src/jabber_file.cpp
@@ -36,10 +36,10 @@ void __cdecl CJabberProto::FileReceiveHttpThread(filetransfer *ft)
NLHR_PTR pResp(Netlib_HttpTransaction(m_hNetlibUser, &req));
if (pResp && pResp->resultCode == 200) {
- ft->std.currentFileSize = pResp->cbSize;
+ ft->std.currentFileSize = pResp->dataLength;
ProtoBroadcastAck(ft->std.hContact, ACKTYPE_FILE, ACKRESULT_INITIALISING, ft);
- FtReceive(ft, pResp->pData, pResp->cbSize);
+ FtReceive(ft, pResp->pData, pResp->dataLength);
ft->complete();
}