[Scummvm-git-logs] scummvm master -> fb54cc1f7799a1097f880a51f60d62e09250ada9

digitall dgturner at iee.org
Sat Aug 24 18:02:36 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fb54cc1f77 CLOUD: Fix Inverted Test Regression in Debug Message Code


Commit: fb54cc1f7799a1097f880a51f60d62e09250ada9
    https://github.com/scummvm/scummvm/commit/fb54cc1f7799a1097f880a51f60d62e09250ada9
Author: D G Turner (digitall at scummvm.org)
Date: 2019-08-24T16:59:17+01:00

Commit Message:
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.

Changed paths:
    backends/cloud/savessyncrequest.cpp


diff --git a/backends/cloud/savessyncrequest.cpp b/backends/cloud/savessyncrequest.cpp
index b906e5b..b952d07 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();
 





More information about the Scummvm-git-logs mailing list