From 16002d20785785c03647d1648501aac3e9ce38bb Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 23 Jan 2019 15:46:07 +0100 Subject: debug --- src/lib/auditor_api_handle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/auditor_api_handle.c') diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c index fffbd39d0..652566c05 100644 --- a/src/lib/auditor_api_handle.c +++ b/src/lib/auditor_api_handle.c @@ -259,7 +259,6 @@ decode_version_json (const json_t *resp_obj, return GNUNET_OK; } - /** * Initiate download of /version from the auditor. * @@ -307,6 +306,7 @@ version_completed_cb (void *cls, case MHD_HTTP_OK: if (NULL == resp_obj) { + TALER_LOG_WARNING ("NULL body for a 200-OK /version\n"); response_code = 0; break; } @@ -342,6 +342,7 @@ version_completed_cb (void *cls, auditor->vr = NULL; free_version_request (vr); + TALER_LOG_DEBUG ("Switching auditor state to 'version'\n"); auditor->state = MHS_VERSION; /* notify application about the key information */ auditor->version_cb (auditor->version_cb_cls, -- cgit v1.2.3