From 26e02306cb441f50269e7ecbdfc42567793128b9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 Jan 2023 19:52:57 +0300 Subject: oops --- protocols/JabberG/src/jabber_file.cpp | 4 ++-- 1 file 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(); } -- cgit v1.2.3