merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 365d933c98eb9cb2474fe70dfe389da0f5ee70d4
parent f981076f64d11bd7c14903a7be4664012de2444f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 24 Mar 2019 16:34:33 +0100

fix test case error handling

Diffstat:
Msrc/lib/test_merchant_api.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -1698,6 +1698,7 @@ refund_increase_cb (void *cls, struct InterpreterState *is = cls; struct Command *cmd = &is->commands[is->ip]; + cmd->details.refund_increase.rio = NULL; if (MHD_HTTP_OK != http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, @@ -1705,7 +1706,6 @@ refund_increase_cb (void *cls, fail (is); return; } - cmd->details.refund_increase.rio = NULL; next_command (is); } @@ -3925,7 +3925,7 @@ interpreter_run (void *cls) &refund_amount, cmd->details.refund_increase.reason, instance, - refund_increase_cb, + &refund_increase_cb, is))) { GNUNET_break (0);