summaryrefslogtreecommitdiff
path: root/protocols/MRA
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MRA')
-rw-r--r--protocols/MRA/MraFilesQueue.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/MRA/MraFilesQueue.cpp b/protocols/MRA/MraFilesQueue.cpp
index 332386ea56..28a8979037 100644
--- a/protocols/MRA/MraFilesQueue.cpp
+++ b/protocols/MRA/MraFilesQueue.cpp
@@ -986,8 +986,6 @@ void CMraProto::MraFilesQueueRecvThreadProc(LPVOID lpParameter)
DWORD CMraProto::MraFilesQueueAddSend(HANDLE hFilesQueueHandle, DWORD dwFlags, HANDLE hContact, LPWSTR *plpwszFiles, size_t dwFilesCount, DWORD *pdwIDRequest)
{
- DWORD dwRetErrorCode;
-
if ( !hFilesQueueHandle)
return ERROR_INVALID_HANDLE;
@@ -996,11 +994,10 @@ DWORD CMraProto::MraFilesQueueAddSend(HANDLE hFilesQueueHandle, DWORD dwFlags, H
if ( !dat)
return GetLastError();
- size_t i;
ULARGE_INTEGER uliFileSize;
WIN32_FILE_ATTRIBUTE_DATA wfad;
- //dat->lmtListMTItem;
+ dat->ppro = this;
dat->bIsWorking = TRUE;
dat->dwSendTime = GetTickCount();
dat->dwIDRequest = InterlockedIncrement((LONG volatile*)&dwCMDNum);// уникальный, рандомный идентификатор