summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto
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/EmLanProto
parent9613f96e6a6f96ad02a0fc926054132811ae2bb1 (diff)
unneeded size fields removed
Diffstat (limited to 'protocols/EmLanProto')
-rw-r--r--protocols/EmLanProto/src/mlan.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp
index c24d0d9e42..e7e6b8963d 100644
--- a/protocols/EmLanProto/src/mlan.cpp
+++ b/protocols/EmLanProto/src/mlan.cpp
@@ -1099,7 +1099,6 @@ void CMLan::OnInTCPConnection(u_long addr, SOCKET in_sock)
ProtoBroadcastAck(PROTONAME, conn->m_hContact, ACKTYPE_FILE, ACKRESULT_NEXTFILE, (HANDLE)conn->m_cid, 0);
PROTOFILETRANSFERSTATUS fts;
- fts.cbSize = sizeof(fts);
fts.flags = PFTS_UNICODE;
fts.hContact = conn->m_hContact;
fts.totalBytes = rcTotalSize;
@@ -1304,7 +1303,6 @@ void CMLan::OnOutTCPConnection(u_long, SOCKET out_socket, LPVOID lpParameter)
conn->m_szDir = mir_wstrdup(name);
PROTOFILETRANSFERSTATUS fts;
- fts.cbSize = sizeof(fts);
fts.flags = PFTS_SENDING | PFTS_UNICODE;
fts.hContact = conn->m_hContact;
fts.totalBytes = size;