diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-04-26 00:15:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-04-26 00:17:19 +0200 |
commit | 7afc01815adb8d8d8d638526d1bf8caa66b7f3b4 (patch) | |
tree | fd1df4a32ca5f0dd55173f665c3597c79263689e /src/testing/testing_api_cmd_post_orders_paid.c | |
parent | fd591efee4be6d6500c59d459385f0950c9c0439 (diff) | |
download | merchant-7afc01815adb8d8d8d638526d1bf8caa66b7f3b4.tar.gz merchant-7afc01815adb8d8d8d638526d1bf8caa66b7f3b4.tar.bz2 merchant-7afc01815adb8d8d8d638526d1bf8caa66b7f3b4.zip |
address #7820
Diffstat (limited to 'src/testing/testing_api_cmd_post_orders_paid.c')
-rw-r--r-- | src/testing/testing_api_cmd_post_orders_paid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_post_orders_paid.c b/src/testing/testing_api_cmd_post_orders_paid.c index 6c4e41cd..645a0010 100644 --- a/src/testing/testing_api_cmd_post_orders_paid.c +++ b/src/testing/testing_api_cmd_post_orders_paid.c @@ -71,21 +71,21 @@ struct PostOrdersPaidState * Response from the merchant after POST /paid. * * @param cls pointer to `struct PostOrdersPaidState`. - * @param hr the http response. + * @param opr the response. */ static void paid_cb (void *cls, - const struct TALER_MERCHANT_HttpResponse *hr) + const struct TALER_MERCHANT_OrderPaidResponse *opr) { struct PostOrdersPaidState *ops = cls; ops->oph = NULL; - if (ops->http_status != hr->http_status) + if (ops->http_status != opr->hr.http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Unexpected response code %u (%d) to command %s\n", - hr->http_status, - (int) hr->ec, + opr->hr.http_status, + (int) opr->hr.ec, TALER_TESTING_interpreter_get_current_label (ops->is)); TALER_TESTING_FAIL (ops->is); } |