aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_refund.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_refund.c')
-rw-r--r--src/lib/merchant_api_refund.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/merchant_api_refund.c b/src/lib/merchant_api_refund.c
index 5a6b0e39..19b39e6b 100644
--- a/src/lib/merchant_api_refund.c
+++ b/src/lib/merchant_api_refund.c
@@ -138,8 +138,7 @@ handle_refund_increase_finished (void *cls,
* The backend gave response, but it's error, log it.
* NOTE that json must be a Taler-specific error object (FIXME,
* need a link to error objects at docs)
- */
- if (-1 == json_unpack
+ */if (-1 == json_unpack
((json_t *) json,
"{s:s, s:I, s:s}",
"error", &error,
@@ -297,8 +296,7 @@ handle_refund_lookup_finished (void *cls,
* The backend gave response, but it's error, log it.
* NOTE that json must be a Taler-specific error object (FIXME,
* need a link to error objects at docs)
- */
- if (-1 == json_unpack ((json_t *) json,
+ */if (-1 == json_unpack ((json_t *) json,
"{s:s, s:I, s:s}",
"error", &error,
"code", &code))