commit 735c6d7a8c6dfcdb564bcc1291a02a6ebc436392
parent 667763fb332a269371b73a34eb8fe2ba6dc344cc
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Thu, 29 Jun 2017 00:07:41 +0200
no "hint" field in error
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/lib/merchant_api_refund.c b/src/lib/merchant_api_refund.c
@@ -263,7 +263,6 @@ handle_refund_lookup_finished (void *cls,
{
struct TALER_MERCHANT_RefundLookupOperation *rlo = cls;
char *error;
- char *hint;
enum TALER_ErrorCode code;
rlo->job = NULL;
@@ -290,8 +289,7 @@ handle_refund_lookup_finished (void *cls,
json_unpack ((json_t *) json,
"{s:s, s:I, s:s}",
"error", &error,
- "code", &code,
- "hint", &hint);
+ "code", &code);
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed GET /refund, error: %s, code: %d, hint: %s\n",
error,