summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-02-26 07:53:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-02-26 07:53:11 +0000
commit178cc2dfec49d71e591471c31a33ac229debffe1 (patch)
tree4b64e76a50028a76e65aee57a3d83538aea973da /plugins/Dropbox/src
parent9e7eeb0fd7bd1f323452455aff70c7a9232ffed7 (diff)
minor fix for transfer finalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@16342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src')
-rw-r--r--plugins/Dropbox/src/dropbox_transfers.cpp2
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);