[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] 02/02: fix non returning testcase
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] 02/02: fix non returning testcase |
Date: |
Tue, 20 Jun 2017 11:49:43 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
commit 141807f89eda581f181fd414f46a285841f592a3
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jun 20 11:49:46 2017 +0200
fix non returning testcase
---
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
index b45799b..b7383b2 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",
--
To stop receiving notification emails like this one, please contact
address@hidden