summaryrefslogtreecommitdiff
path: root/protocols/Sametime
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-03 16:56:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-03 16:56:45 +0300
commitf9883d97b3a586663f85075206fe7e07b41ed366 (patch)
tree1aa3f212a908eda296de192129df8e49cc10cb13 /protocols/Sametime
parent9613f96e6a6f96ad02a0fc926054132811ae2bb1 (diff)
unneeded size fields removed
Diffstat (limited to 'protocols/Sametime')
-rw-r--r--protocols/Sametime/src/files.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/Sametime/src/files.cpp b/protocols/Sametime/src/files.cpp
index f4087265c5..e7d206c4fc 100644
--- a/protocols/Sametime/src/files.cpp
+++ b/protocols/Sametime/src/files.cpp
@@ -81,9 +81,7 @@ void __cdecl SendThread(LPVOID param) {
proto->debugLogW(L"SendThread() start");
- PROTOFILETRANSFERSTATUS pfts = {0};
-
- pfts.cbSize = sizeof(pfts);
+ PROTOFILETRANSFERSTATUS pfts = {};
pfts.flags = PFTS_UTF;
pfts.hContact = ftcd->hContact;
if (ftcd->sending == 1)
@@ -230,7 +228,6 @@ void mwFileTransfer_recv(mwFileTransfer* ft, struct mwOpaque* data)
mwFileTransfer_ack(ft); // acknowledge chunk
PROTOFILETRANSFERSTATUS pfts = { 0 };
- pfts.cbSize = sizeof(pfts);
pfts.flags = PFTS_UTF;
pfts.hContact = ftcd->hContact;
if (ftcd->sending == 1) {