summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-18 18:55:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-18 18:55:17 +0300
commitc62b3ef92f0499f00bd72581f2acc8f128e82ebb (patch)
tree1fb2e376aa74c817ae0e62512473b72652abed32 /protocols/JabberG/src
parent3c5a1a6af8e6cfbd53d0dacffc74819cb1eba2c9 (diff)
code cleaning
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp
index 0b2767de8d..00e051f75d 100644
--- a/protocols/JabberG/src/jabber_file.cpp
+++ b/protocols/JabberG/src/jabber_file.cpp
@@ -95,7 +95,7 @@ void __cdecl CJabberProto::OfflineFileThread(OFDTHREAD *param)
if (written) {
DBVARIANT dbv = { DBVT_DWORD };
- dbv.dVal = nlhrReply->dataLength;
+ dbv.dVal = written;
db_event_setJson(param->hDbEvent, "ft", &dbv);
db_event_setJson(param->hDbEvent, "fs", &dbv);