diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-03 16:56:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-03 16:56:45 +0300 |
commit | f9883d97b3a586663f85075206fe7e07b41ed366 (patch) | |
tree | 1aa3f212a908eda296de192129df8e49cc10cb13 /protocols/MRA/src/MraFilesQueue.cpp | |
parent | 9613f96e6a6f96ad02a0fc926054132811ae2bb1 (diff) |
unneeded size fields removed
Diffstat (limited to 'protocols/MRA/src/MraFilesQueue.cpp')
-rw-r--r-- | protocols/MRA/src/MraFilesQueue.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/MRA/src/MraFilesQueue.cpp b/protocols/MRA/src/MraFilesQueue.cpp index 996503fee4..c106a7b073 100644 --- a/protocols/MRA/src/MraFilesQueue.cpp +++ b/protocols/MRA/src/MraFilesQueue.cpp @@ -722,13 +722,12 @@ void CMraProto::MraFilesQueueRecvThreadProc(LPVOID lpParameter) size_t i, dwBuffSizeUsed;
LARGE_INTEGER liFileSize;
NETLIBSELECT nls = { 0 };
- PROTOFILETRANSFERSTATUS pfts = { 0 };
+ PROTOFILETRANSFERSTATUS pfts = {};
mir_free(lpParameter);
bFailed = TRUE;
bConnected = FALSE;
- pfts.cbSize = sizeof(pfts);
pfts.hContact = dat->hContact;
pfts.flags = (PFTS_RECEIVING | PFTS_UNICODE);// pfts.sending = dat->bSending; //true if sending, false if receiving
//pfts.files;
@@ -981,8 +980,7 @@ void CMraProto::MraFilesQueueSendThreadProc(LPVOID lpParameter) size_t i, j, dwBuffSizeUsed = 0;
LPWSTR lpwszFileName;
- PROTOFILETRANSFERSTATUS pfts = { 0 };
- pfts.cbSize = sizeof(pfts);
+ PROTOFILETRANSFERSTATUS pfts = {};
pfts.hContact = dat->hContact;
pfts.flags = (PFTS_SENDING | PFTS_UNICODE);// pfts.sending = dat->bSending; //true if sending, false if receiving
pfts.totalFiles = dat->dwFilesCount;
|