aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();