summaryrefslogtreecommitdiff
path: root/src/nse/gnunet-nse.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-30 08:17:37 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-30 08:17:37 +0000
commit95f9076a2139f5fb042b944a0658b6cda2fa35db (patch)
treeb0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/nse/gnunet-nse.c
parent7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff)
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/nse/gnunet-nse.c')
-rw-r--r--src/nse/gnunet-nse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nse/gnunet-nse.c b/src/nse/gnunet-nse.c
index 97c3da29b..840b8e64d 100644
--- a/src/nse/gnunet-nse.c
+++ b/src/nse/gnunet-nse.c
@@ -143,8 +143,8 @@ run (void *cls, char *const *args, const char *cfgfile,
GNUNET_TIME_UNIT_SECONDS,
nse_test_result,
NULL);
- shutdown_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
- &do_shutdown, NULL);
+ shutdown_task = GNUNET_SCHEDULER_add_shutdown (&do_shutdown,
+ NULL);
}