aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorD G Turner2019-08-24 16:59:17 +0100
committerD G Turner2019-08-24 16:59:17 +0100
commitfb54cc1f7799a1097f880a51f60d62e09250ada9 (patch)
treecfd34809e27cd0cfdc31ebe9ba1df806a79a9975 /backends
parent3cb57e2078daa86a9b7fcfd76ad151ffd6890af5 (diff)
downloadscummvm-rg350-fb54cc1f7799a1097f880a51f60d62e09250ada9.tar.gz
scummvm-rg350-fb54cc1f7799a1097f880a51f60d62e09250ada9.tar.bz2
scummvm-rg350-fb54cc1f7799a1097f880a51f60d62e09250ada9.zip
CLOUD: Fix Inverted Test Regression in Debug Message Code
This was introduced by my previous commit to this where I accidently inverted the tests during refactoring.
Diffstat (limited to 'backends')
-rw-r--r--backends/cloud/savessyncrequest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/cloud/savessyncrequest.cpp b/backends/cloud/savessyncrequest.cpp
index b906e5b5d6..b952d071e5 100644
--- a/backends/cloud/savessyncrequest.cpp
+++ b/backends/cloud/savessyncrequest.cpp
@@ -139,22 +139,22 @@ void SavesSyncRequest::directoryListedCallback(Storage::ListDirectoryResponse re
debug(9, "\nSavesSyncRequest: ");
if (_filesToDownload.size() > 0) {
- debug(9, "nothing to download");
- } else {
debug(9, "download files:");
for (uint32 i = 0; i < _filesToDownload.size(); ++i) {
debug(9, " %s", _filesToDownload[i].name().c_str());
}
debug(9, "%s", "");
+ } else {
+ debug(9, "nothing to download");
}
debug(9, "SavesSyncRequest: ");
if (_filesToUpload.size() > 0) {
- debug(9, "nothing to upload");
- } else {
debug(9, "upload files:");
for (uint32 i = 0; i < _filesToUpload.size(); ++i) {
debug(9, " %s", _filesToUpload[i].c_str());
}
+ } else {
+ debug(9, "nothing to upload");
}
_totalFilesToHandle = _filesToDownload.size() + _filesToUpload.size();