diff options
author | George Hazan <ghazan@miranda.im> | 2022-02-08 14:54:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-02-08 14:54:39 +0300 |
commit | 12d95ea38599485662ec3f8541b14641c0254fb3 (patch) | |
tree | 0ba353aac9011b7fd314138039fe1c115298b489 /protocols/CloudFile/src | |
parent | dd0c36ddb76469825c06f51a647dea64a85f7af5 (diff) |
fixes #3022 (Jabber file transfers don't report failure)
Diffstat (limited to 'protocols/CloudFile/src')
-rw-r--r-- | protocols/CloudFile/src/file_transfer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/CloudFile/src/file_transfer.h b/protocols/CloudFile/src/file_transfer.h index 692e717f2e..9c68127fdf 100644 --- a/protocols/CloudFile/src/file_transfer.h +++ b/protocols/CloudFile/src/file_transfer.h @@ -43,7 +43,7 @@ public: pfts.szWorkingDir.w = NULL; pfts.szCurrentFile.w = NULL; - ProtoBroadcastAck(MODULENAME, pfts.hContact, ACKTYPE_FILE, ACKRESULT_INITIALISING, (HANDLE)id, 0); + ProtoBroadcastAck(MODULENAME, pfts.hContact, ACKTYPE_FILE, ACKRESULT_INITIALISING, (HANDLE)id); } ~FileTransferParam() @@ -237,7 +237,7 @@ public: pfts.currentFileProgress = 0; pfts.szCurrentFile.w = wcsrchr(pfts.pszFiles.w[pfts.currentFileNumber], '\\') + 1; if (pfts.hContact) - ProtoBroadcastAck(MODULENAME, pfts.hContact, ACKTYPE_FILE, ACKRESULT_NEXTFILE, (HANDLE)id, 0); + ProtoBroadcastAck(MODULENAME, pfts.hContact, ACKTYPE_FILE, ACKRESULT_NEXTFILE, (HANDLE)id); OpenCurrentFile(); CheckCurrentFile(); |