aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_get_auditor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_get_auditor.c')
-rw-r--r--src/testing/testing_api_cmd_get_auditor.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/testing/testing_api_cmd_get_auditor.c b/src/testing/testing_api_cmd_get_auditor.c
index 42c887da9..2e9961c36 100644
--- a/src/testing/testing_api_cmd_get_auditor.c
+++ b/src/testing/testing_api_cmd_get_auditor.c
@@ -70,23 +70,19 @@ struct GetAuditorState
* Function called with information about the auditor.
*
* @param cls closure
- * @param hr HTTP response data
- * @param vi basic information about the auditor
- * @param compat protocol compatibility information
+ * @param vr response data
*/
static void
version_cb (
void *cls,
- const struct TALER_AUDITOR_HttpResponse *hr,
- const struct TALER_AUDITOR_VersionInformation *vi,
- enum TALER_AUDITOR_VersionCompatibility compat)
+ const struct TALER_AUDITOR_VersionResponse *vr)
{
struct GetAuditorState *gas = cls;
- if (MHD_HTTP_OK != hr->http_status)
+ if (MHD_HTTP_OK != vr->hr.http_status)
{
TALER_TESTING_unexpected_status (gas->is,
- hr->http_status);
+ vr->hr.http_status);
return;
}
TALER_TESTING_interpreter_next (gas->is);