diff options
Diffstat (limited to 'plugins/Dropbox/src')
-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);
|