diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-13 15:31:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-13 15:31:52 +0200 |
commit | 58a0882909f2b1ede572ae575b83c18746f96cff (patch) | |
tree | 8d96afaec04abb7fd82d32a7a1b8b4ca1e9dd52d /src/auditor/report-lib.c | |
parent | 70a5ceecc1a15d4f811636f5980cedf653988879 (diff) | |
download | exchange-58a0882909f2b1ede572ae575b83c18746f96cff.tar.xz |
-towards coin audits with purse deposits
Diffstat (limited to 'src/auditor/report-lib.c')
-rw-r--r-- | src/auditor/report-lib.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/auditor/report-lib.c b/src/auditor/report-lib.c index 8d783e0cf..e4f66b31c 100644 --- a/src/auditor/report-lib.c +++ b/src/auditor/report-lib.c @@ -62,6 +62,11 @@ struct TALER_AuditorPublicKeyP TALER_ARL_auditor_pub; char *TALER_ARL_auditor_url; /** + * REST API endpoint of the exchange. + */ +char *TALER_ARL_exchange_url; + +/** * At what time did the auditor process start? */ struct GNUNET_TIME_Absolute start_time; @@ -371,10 +376,13 @@ test_master_present (void *cls, { int *found = cls; - (void) exchange_url; if (0 == GNUNET_memcmp (mpub, &TALER_ARL_master_pub)) + { *found = GNUNET_YES; + GNUNET_free (TALER_ARL_exchange_url); + TALER_ARL_exchange_url = GNUNET_strdup (exchange_url); + } } @@ -765,6 +773,7 @@ TALER_ARL_done (json_t *report) JSON_INDENT (2)); json_decref (report); } + GNUNET_free (TALER_ARL_exchange_url); GNUNET_free (TALER_ARL_auditor_url); } |