[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] 01/02: fix test case error handling
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] 01/02: fix test case error handling |
Date: |
Sun, 24 Mar 2019 16:37:16 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
commit 365d933c98eb9cb2474fe70dfe389da0f5ee70d4
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 24 16:34:33 2019 +0100
fix test case error handling
---
src/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
index 1f74b30..946760f 100644
--- 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);
--
To stop receiving notification emails like this one, please contact
address@hidden