diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-20 14:30:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-20 14:30:38 +0000 |
commit | 062117e053961ddce50bf425bc33b7eef7c033ae (patch) | |
tree | f9b139a6d2b91d8ad23e79cb56cb05bf1ad0e88a /protocols/MRA | |
parent | 9bd135eb5be03099a8cfbc81ac9903a97044ae0f (diff) |
f/t fix for MRA
git-svn-id: http://svn.miranda-ng.org/main/trunk@1608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/MraFilesQueue.cpp | 5 |
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);// уникальный, рандомный идентификатор
|