aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_auditor_add.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-04 14:10:54 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-04 14:10:54 +0200
commit0ad3de938e37cd4f34dd791283350ccfc09df2db (patch)
tree8c8fc14d341a5e4d78e39c5c09c9d35fbf261355 /src/testing/testing_api_cmd_auditor_add.c
parent809300158caaa0215c36ef89c7e38f0edfa93593 (diff)
downloadexchange-0ad3de938e37cd4f34dd791283350ccfc09df2db.tar.xz
address API stability FIXMEs in taler_exchange_service
Diffstat (limited to 'src/testing/testing_api_cmd_auditor_add.c')
-rw-r--r--src/testing/testing_api_cmd_auditor_add.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_auditor_add.c b/src/testing/testing_api_cmd_auditor_add.c
index 8362b66c9..41182b7c7 100644
--- a/src/testing/testing_api_cmd_auditor_add.c
+++ b/src/testing/testing_api_cmd_auditor_add.c
@@ -62,13 +62,15 @@ struct AuditorAddState
* if the response code is acceptable.
*
* @param cls closure.
- * @param hr HTTP response details
+ * @param aer response details
*/
static void
-auditor_add_cb (void *cls,
- const struct TALER_EXCHANGE_HttpResponse *hr)
+auditor_add_cb (
+ void *cls,
+ const struct TALER_EXCHANGE_ManagementAuditorEnableResponse *aer)
{
struct AuditorAddState *ds = cls;
+ const struct TALER_EXCHANGE_HttpResponse *hr = &aer->hr;
ds->dh = NULL;
if (ds->expected_response_code != hr->http_status)