diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-28 16:15:18 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-28 16:15:18 +0100 |
commit | ed8dfac6db0cff37b69876e70da5b0341b50926f (patch) | |
tree | e0ff8aadcd20d09905d0b16e1f76d833dd62e272 /src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c | |
parent | 6b7ad9c50d5e6b5b7ffc88435d13625afd965f86 (diff) | |
download | exchange-ed8dfac6db0cff37b69876e70da5b0341b50926f.tar.xz |
helpers return exchange base url from config.
Diffstat (limited to 'src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c')
-rw-r--r-- | src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 c32d6424f..773fc717d 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); |