diff options
Diffstat (limited to 'src/exchange-lib')
| -rw-r--r-- | src/exchange-lib/exchange_api_handle.c | 2 | ||||
| -rw-r--r-- | src/exchange-lib/test_exchange_api_twisted.c | 9 | ||||
| -rw-r--r-- | src/exchange-lib/test_exchange_api_twisted.conf | 5 | 
3 files changed, 13 insertions, 3 deletions
| diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c index d7fa65fa..b131ffca 100644 --- a/src/exchange-lib/exchange_api_handle.c +++ b/src/exchange-lib/exchange_api_handle.c @@ -1481,7 +1481,7 @@ request_keys (void *cls)                                     kr));    kr->job = GNUNET_CURL_job_add (exchange->ctx,                                   eh, -                                 GNUNET_NO, +                                 GNUNET_YES,                                   &keys_completed_cb,                                   kr);    exchange->kr = kr; diff --git a/src/exchange-lib/test_exchange_api_twisted.c b/src/exchange-lib/test_exchange_api_twisted.c index e276fd1a..9e52c9ea 100644 --- a/src/exchange-lib/test_exchange_api_twisted.c +++ b/src/exchange-lib/test_exchange_api_twisted.c @@ -61,6 +61,11 @@ static char *fakebank_url;  static char *exchange_url;  /** + * Auditor URL, unused but needed to achieve compilation. + */ +static char *auditor_url; + +/**   * Twister process.   */  static struct GNUNET_OS_Process *twisterd; @@ -367,6 +372,7 @@ main (int argc,    TALER_TESTING_cleanup_files (CONFIG_FILE);    switch (TALER_TESTING_prepare_exchange (CONFIG_FILE, +                                          &auditor_url,                                            &exchange_url))    {    case GNUNET_SYSERR: @@ -381,7 +387,8 @@ main (int argc,          (CONFIG_FILE)))        return 77; -    ret = TALER_TESTING_setup_with_exchange (&run, NULL, +    ret = TALER_TESTING_setup_with_exchange (&run, +                                             NULL,                                               CONFIG_FILE);      purge_process (twisterd);      GNUNET_free (twister_url); diff --git a/src/exchange-lib/test_exchange_api_twisted.conf b/src/exchange-lib/test_exchange_api_twisted.conf index 12a07a17..ba59b5a6 100644 --- a/src/exchange-lib/test_exchange_api_twisted.conf +++ b/src/exchange-lib/test_exchange_api_twisted.conf @@ -67,8 +67,11 @@ BASE_URL = "http://localhost:8888/"  [exchangedb-postgres]  DB_CONN_STR = "postgres:///talercheck" +[auditor] +BASE_URL = "http://the.auditor/" +  [auditordb-postgres] -DB_CONN_STR = "postgres:///talercheck" +CONFIG = "postgres:///talercheck"  [account-2]  URL = payto://x-taler-bank/localhost:8082/2 | 
