diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-06-20 11:49:46 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-06-20 11:49:46 +0200 |
commit | 141807f89eda581f181fd414f46a285841f592a3 (patch) | |
tree | 3c404f71afcd2d1f40723f5762b2200a93d1704e /src/lib | |
parent | f48df598cf421374130beecaa0485c2ff2a2d70e (diff) |
fix non returning testcase
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/test_merchant_api.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index b45799b1..b7383b21 100644 --- 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", |