From 0b8752bb1b0f61e9d140e4d89a612ddea01c56e2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 3 May 2023 20:25:39 +0200 Subject: [PATCH] -more readable, no semantic change --- contrib/gana | 2 +- src/lib/exchange_api_transfers_get.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/gana b/contrib/gana index fa2259bd6..85736484c 160000 --- a/contrib/gana +++ b/contrib/gana @@ -1 +1 @@ -Subproject commit fa2259bd6824b2c739130218ca4316fb79addfbe +Subproject commit 85736484cb0da26aded705ebb1e944e8bb1b8504 diff --git a/src/lib/exchange_api_transfers_get.c b/src/lib/exchange_api_transfers_get.c index c2a1c0b15..f00e36ce3 100644 --- a/src/lib/exchange_api_transfers_get.c +++ b/src/lib/exchange_api_transfers_get.c @@ -241,7 +241,6 @@ check_transfers_get_response_ok ( GNUNET_free (details); } GNUNET_JSON_parse_free (spec); - TALER_EXCHANGE_transfers_get_cancel (wdh); return GNUNET_OK; } @@ -276,7 +275,10 @@ handle_transfers_get_finished (void *cls, if (GNUNET_OK == check_transfers_get_response_ok (wdh, j)) + { + TALER_EXCHANGE_transfers_get_cancel (wdh); return; + } GNUNET_break_op (0); tgr.hr.ec = TALER_EC_GENERIC_REPLY_MALFORMED; tgr.hr.http_status = 0;