summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-03-26 21:43:25 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-03-26 21:43:25 +0200
commit3e191f3b080f692bbb80c66f5c24736955f3f46d (patch)
tree5569a1ff9fe8e5dbc0d2beddc3453b3958f802fa
parent96a4aefcfdc53641760f458c3faaa593590f95ed (diff)
downloadexchange-3e191f3b080f692bbb80c66f5c24736955f3f46d.tar.gz
exchange-3e191f3b080f692bbb80c66f5c24736955f3f46d.tar.bz2
exchange-3e191f3b080f692bbb80c66f5c24736955f3f46d.zip
still on gentle twister termination.
-rw-r--r--src/bank-lib/testing_api_helpers.c6
-rw-r--r--src/exchange-lib/test_exchange_api_twisted.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bank-lib/testing_api_helpers.c b/src/bank-lib/testing_api_helpers.c
index 8446f9581..99b0e8c7c 100644
--- a/src/bank-lib/testing_api_helpers.c
+++ b/src/bank-lib/testing_api_helpers.c
@@ -126,12 +126,12 @@ TALER_TESTING_prepare_bank (const char *config_filename)
cfg = GNUNET_CONFIGURATION_create ();
- if (GNUNET_OK != GNUNET_CONFIGURATION_load (cfg, config_filename))
+ if (GNUNET_OK != GNUNET_CONFIGURATION_load
+ (cfg, config_filename))
BANK_FAIL ();
if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number
- (cfg, "bank",
- "HTTP_PORT", &port))
+ (cfg, "bank", "HTTP_PORT", &port))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
"bank",
diff --git a/src/exchange-lib/test_exchange_api_twisted.c b/src/exchange-lib/test_exchange_api_twisted.c
index 902969c98..6032417ea 100644
--- a/src/exchange-lib/test_exchange_api_twisted.c
+++ b/src/exchange-lib/test_exchange_api_twisted.c
@@ -162,7 +162,7 @@ run (void *cls,
static void
purge_process (struct GNUNET_OS_Process *process)
{
- GNUNET_OS_process_kill (process, SIGKILL);
+ GNUNET_OS_process_kill (process, SIGINT);
GNUNET_OS_process_wait (process);
GNUNET_OS_process_destroy (process);
}