summaryrefslogtreecommitdiff
path: root/src/lib/auditor_api_handle.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-23 15:46:07 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-23 15:46:07 +0100
commit16002d20785785c03647d1648501aac3e9ce38bb (patch)
tree069f4ccedd224786da06981456cc302a7bd9bd35 /src/lib/auditor_api_handle.c
parentd5ee6e1d07805b11e02831fac0823f83cb8f9edd (diff)
downloadexchange-16002d20785785c03647d1648501aac3e9ce38bb.tar.gz
exchange-16002d20785785c03647d1648501aac3e9ce38bb.tar.bz2
exchange-16002d20785785c03647d1648501aac3e9ce38bb.zip
debug
Diffstat (limited to 'src/lib/auditor_api_handle.c')
-rw-r--r--src/lib/auditor_api_handle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c
index fffbd39d..652566c0 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,