diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-18 23:20:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-18 23:20:51 +0000 |
commit | 7a2c6126cd995cfdbd5f3167609cd7e09ffacf35 (patch) | |
tree | 5abf4493f0b3bb435c5604fbdba453acfcc1e066 /src/modules/srfile/file.cpp | |
parent | 7984eb187eec59c96ce661e85575ee2cbf5b386e (diff) |
useless junk removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@66 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/srfile/file.cpp')
-rw-r--r-- | src/modules/srfile/file.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/modules/srfile/file.cpp b/src/modules/srfile/file.cpp index 85eb99a7bc..37f7d15a1f 100644 --- a/src/modules/srfile/file.cpp +++ b/src/modules/srfile/file.cpp @@ -208,26 +208,6 @@ void CopyProtoFileTransferStatus(PROTOFILETRANSFERSTATUS *dest, PROTOFILETRANSFE void UpdateProtoFileTransferStatus(PROTOFILETRANSFERSTATUS *dest, PROTOFILETRANSFERSTATUS *src)
{
- if (src->cbSize == sizeof(PROTOFILETRANSFERSTATUS_V1))
- {
- PROTOFILETRANSFERSTATUS_V1 *src1 = (PROTOFILETRANSFERSTATUS_V1*)src;
- src = (PROTOFILETRANSFERSTATUS*)alloca(sizeof(PROTOFILETRANSFERSTATUS));
-
- src->cbSize = sizeof(PROTOFILETRANSFERSTATUS);
- src->hContact = src1->hContact;
- src->flags = src1->sending ? PFTS_SENDING : 0;
- src->pszFiles = src1->files;
- src->totalFiles = src1->totalFiles;
- src->currentFileNumber = src1->currentFileNumber;
- src->totalBytes = src1->totalBytes;
- src->totalProgress = src1->totalProgress;
- src->szWorkingDir = src1->workingDir;
- src->szCurrentFile = src1->currentFile;
- src->currentFileSize = src1->currentFileSize;
- src->currentFileProgress = src1->currentFileProgress;
- src->currentFileTime = src1->currentFileTime;
- }
-
dest->hContact = src->hContact;
dest->flags = src->flags;
if ( dest->totalFiles != src->totalFiles ) {
|