From 69a07468de8555d5260afab4019e34f40e5ec6be Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 5 Jun 2019 23:38:28 +0200 Subject: working on fix for #5747 --- src/lib/exchange_api_handle.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/lib/exchange_api_handle.c') diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index f792e89de..9f02d7039 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -1251,29 +1251,29 @@ keys_completed_cb (void *cls, /* Old auditors got just copied into new ones. */ if (GNUNET_OK != decode_keys_json (j, - GNUNET_YES, + GNUNET_YES, &kd, - &vc)) + &vc)) { TALER_LOG_ERROR ("Could not decode /keys response\n"); response_code = 0; for (unsigned int i=0;idenom_keys, - anew->num_denom_keys, - 0); - GNUNET_free (anew->auditor_url); + GNUNET_array_grow (anew->denom_keys, + anew->num_denom_keys, + 0); + GNUNET_free (anew->auditor_url); } GNUNET_free (kd.auditors); kd.auditors = NULL; kd.num_auditors = 0; for (unsigned int i=0;icert_cb (exchange->cert_cb_cls, &exchange->key_data, - vc); + vc); free_key_data (&kd_old); } -- cgit v1.2.3