commit 141807f89eda581f181fd414f46a285841f592a3 parent f48df598cf421374130beecaa0485c2ff2a2d70e Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Tue, 20 Jun 2017 11:49:46 +0200 fix non returning testcase Diffstat:
| M | src/lib/test_merchant_api.c | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -1582,7 +1582,6 @@ cleanup_state (struct InterpreterState *is) } break; case OC_HISTORY: - if (NULL != cmd->details.history.ho) { TALER_MERCHANT_history_cancel (cmd->details.history.ho); @@ -1590,6 +1589,14 @@ cleanup_state (struct InterpreterState *is) } break; + case OC_REFUND_INCREASE: + if (NULL != cmd->details.refund_increase.rio) + { + TALER_MERCHANT_refund_increase_cancel (cmd->details.refund_increase.rio); + cmd->details.refund_increase.rio = NULL; + } + break; + default: GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Shutdown: unknown instruction %d at %u (%s)\n",