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,
138 * The backend gave response, but it's error, log it. 138 * The backend gave response, but it's error, log it.
139 * NOTE that json must be a Taler-specific error object (FIXME, 139 * NOTE that json must be a Taler-specific error object (FIXME,
140 * need a link to error objects at docs) 140 * need a link to error objects at docs)
141 */ 141 */if (-1 == json_unpack
142 if (-1 == json_unpack
143 ((json_t *) json, 142 ((json_t *) json,
144 "{s:s, s:I, s:s}", 143 "{s:s, s:I, s:s}",
145 "error", &error, 144 "error", &error,
@@ -297,8 +296,7 @@ handle_refund_lookup_finished (void *cls,
297 * The backend gave response, but it's error, log it. 296 * The backend gave response, but it's error, log it.
298 * NOTE that json must be a Taler-specific error object (FIXME, 297 * NOTE that json must be a Taler-specific error object (FIXME,
299 * need a link to error objects at docs) 298 * need a link to error objects at docs)
300 */ 299 */if (-1 == json_unpack ((json_t *) json,
301 if (-1 == json_unpack ((json_t *) json,
302 "{s:s, s:I, s:s}", 300 "{s:s, s:I, s:s}",
303 "error", &error, 301 "error", &error,
304 "code", &code)) 302 "code", &code))