aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/dropbox
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-20 12:48:14 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit1d78d20fcf59d772688f9f32d81670548d6569f9 (patch)
tree845e9f6a75e3c5c4aee043dd795fcf864927ffe5 /backends/cloud/dropbox
parentab0f2d1a03c9ca45dd30440b8a897d9de480bfbe (diff)
downloadscummvm-rg350-1d78d20fcf59d772688f9f32d81670548d6569f9.tar.gz
scummvm-rg350-1d78d20fcf59d772688f9f32d81670548d6569f9.tar.bz2
scummvm-rg350-1d78d20fcf59d772688f9f32d81670548d6569f9.zip
CLOUD: Fix Dropbox and Google Drive UploadRequests
Possible segfault there too.
Diffstat (limited to 'backends/cloud/dropbox')
-rw-r--r--backends/cloud/dropbox/dropboxuploadrequest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/cloud/dropbox/dropboxuploadrequest.cpp b/backends/cloud/dropbox/dropboxuploadrequest.cpp
index e530502413..a3d7dd0d6d 100644
--- a/backends/cloud/dropbox/dropboxuploadrequest.cpp
+++ b/backends/cloud/dropbox/dropboxuploadrequest.cpp
@@ -56,6 +56,7 @@ void DropboxUploadRequest::start() {
if (!_contentsStream->seek(0)) {
warning("DropboxUploadRequest: cannot restart because stream couldn't seek(0)");
finishError(Networking::ErrorResponse(this, false, true, "", -1));
+ return;
}
_ignoreCallback = false;