From fb54cc1f7799a1097f880a51f60d62e09250ada9 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 24 Aug 2019 16:59:17 +0100 Subject: 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. --- backends/cloud/savessyncrequest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends') 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(); -- cgit v1.2.3