summaryrefslogtreecommitdiff
path: root/src/lib/auditor_api_handle.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-01-24 18:46:49 +0100
committerChristian Grothoff <christian@grothoff.org>2019-01-24 18:46:49 +0100
commit531b61cd43765e16ebaacd3900241efc9a6b6616 (patch)
tree2ce28f8cdda92608589eae7aff1d7852632f1da6 /src/lib/auditor_api_handle.c
parent9de8b7762547e4064d618cf2ad1e4da8a1f6994b (diff)
parent649dd16401379285bb2260fce8dbb5eb6f24b453 (diff)
downloadexchange-531b61cd43765e16ebaacd3900241efc9a6b6616.tar.gz
exchange-531b61cd43765e16ebaacd3900241efc9a6b6616.tar.bz2
exchange-531b61cd43765e16ebaacd3900241efc9a6b6616.zip
adding separate test just for /verison API
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 13dd63df..f14713e1 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.
*
@@ -308,6 +307,7 @@ version_completed_cb (void *cls,
if (NULL == resp_obj)
{
GNUNET_break_op (0);
+ TALER_LOG_WARNING ("NULL body for a 200-OK /version\n");
response_code = 0;
break;
}
@@ -348,6 +348,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;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Auditor %p is now READY!\n",