From ed8dfac6db0cff37b69876e70da5b0341b50926f Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 28 Feb 2018 16:15:18 +0100 Subject: helpers return exchange base url from config. --- src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c') diff --git a/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c b/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c index c32d6424..773fc717 100644 --- a/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c +++ b/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c @@ -47,6 +47,10 @@ #define CONFIG_FILE_EXTENDED \ "test_exchange_api_keys_cherry_picking_extended.conf" +/** + * Exchange base URL; mainly purpose is to make the compiler happy. + */ +char *exchange_url; /** * Main function that will tell the interpreter what commands to @@ -107,7 +111,8 @@ main (int argc, /* @helpers. Run keyup, create tables, ... Note: it * fetches the port number from config in order to see * if it's available. */ - switch (TALER_TESTING_prepare_exchange (CONFIG_FILE)) + switch (TALER_TESTING_prepare_exchange (CONFIG_FILE, + &exchange_url)) { case GNUNET_SYSERR: GNUNET_break (0); -- cgit v1.2.3