[aseprite] 101/134: Show some info to debug the update checking process in _DEBUG

Tobias Hansen thansen at moszumanska.debian.org
Sat Mar 14 17:10:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 0a68125372de27be87e8781db9e6fcf41059b346
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Dec 5 10:38:01 2014 -0300

    Show some info to debug the update checking process in _DEBUG
---
 src/updater/check_update.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/updater/check_update.cpp b/src/updater/check_update.cpp
index 8a28186..7cdf13c 100644
--- a/src/updater/check_update.cpp
+++ b/src/updater/check_update.cpp
@@ -128,6 +128,11 @@ public:
     HttpResponse response(&body);
     request.send(response);
 
+#ifdef _DEBUG
+    PRINTF("Checking updates: %s (User-Agent: %s)\n", url.c_str(), getUserAgent().c_str());
+    PRINTF("Response:\n--\n%s--\n", body.str().c_str());
+#endif
+
     CheckUpdateResponse data(body.str());
     delegate->onResponse(data);
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list