diff options
author | George Hazan <george.hazan@gmail.com> | 2016-02-26 07:53:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-02-26 07:53:11 +0000 |
commit | 178cc2dfec49d71e591471c31a33ac229debffe1 (patch) | |
tree | 4b64e76a50028a76e65aee57a3d83538aea973da | |
parent | 9e7eeb0fd7bd1f323452455aff70c7a9232ffed7 (diff) |
minor fix for transfer finalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@16342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Dropbox/src/dropbox_transfers.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Dropbox/src/dropbox_transfers.cpp b/plugins/Dropbox/src/dropbox_transfers.cpp index 55b2f29f6a..f094f7814b 100644 --- a/plugins/Dropbox/src/dropbox_transfers.cpp +++ b/plugins/Dropbox/src/dropbox_transfers.cpp @@ -126,6 +126,8 @@ UINT CDropbox::SendFilesAsync(void *owner, void *arg) if (offset < fileSize)
size = ftp->ReadCurrentFile(data, fileSize - offset);
+ else
+ size = 0;
char path[MAX_PATH];
PreparePath(fileName, path);
|