diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-13 00:27:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-13 00:27:48 +0100 |
commit | d842c14f85352367d9e2d0c868b63e09c206100e (patch) | |
tree | 24f49bfc35a08a31c566aa15725065c35290cdf0 /src/lib/test_exchange_api_overlapping_keys_bug.c | |
parent | 6b0c121fc9818b4cce00bf4540c53cb79d968766 (diff) | |
download | exchange-d842c14f85352367d9e2d0c868b63e09c206100e.tar.gz exchange-d842c14f85352367d9e2d0c868b63e09c206100e.tar.bz2 exchange-d842c14f85352367d9e2d0c868b63e09c206100e.zip |
refactor to make it easier to share init logic for test configurations
Diffstat (limited to 'src/lib/test_exchange_api_overlapping_keys_bug.c')
-rw-r--r-- | src/lib/test_exchange_api_overlapping_keys_bug.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/test_exchange_api_overlapping_keys_bug.c b/src/lib/test_exchange_api_overlapping_keys_bug.c index a5ddac516..c6cd17cbd 100644 --- a/src/lib/test_exchange_api_overlapping_keys_bug.c +++ b/src/lib/test_exchange_api_overlapping_keys_bug.c @@ -55,14 +55,9 @@ "test_exchange_api_keys_cherry_picking_extended_2.conf" /** - * Exchange base URL; mainly purpose is to make the compiler happy. + * Exchange configuration data. */ -static char *exchange_url; - -/** - * Auditor base URL; mainly purpose is to make the compiler happy. - */ -static char *auditor_url; +static struct TALER_TESTING_ExchangeConfiguration ec; /** @@ -106,8 +101,7 @@ main (int argc, * fetches the port number from config in order to see * if it's available. */ switch (TALER_TESTING_prepare_exchange (CONFIG_FILE, - &auditor_url, - &exchange_url)) + &ec)) { case GNUNET_SYSERR: GNUNET_break (0); |