diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
commit | 95f9076a2139f5fb042b944a0658b6cda2fa35db (patch) | |
tree | b0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/hostlist/gnunet-daemon-hostlist.c | |
parent | 7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff) | |
download | gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip |
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index 6a4689af1..21fab323b 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c | |||
@@ -299,9 +299,8 @@ run (void *cls, | |||
299 | GNUNET_HOSTLIST_server_start (cfg, stats, core, &server_ch, &server_dh, | 299 | GNUNET_HOSTLIST_server_start (cfg, stats, core, &server_ch, &server_dh, |
300 | advertising); | 300 | advertising); |
301 | #endif | 301 | #endif |
302 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 302 | GNUNET_SCHEDULER_add_shutdown (&cleaning_task, |
303 | &cleaning_task, | 303 | NULL); |
304 | NULL); | ||
305 | 304 | ||
306 | if (NULL == core) | 305 | if (NULL == core) |
307 | { | 306 | { |