summaryrefslogtreecommitdiff
path: root/src/dv/gnunet-dv.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/dv/gnunet-dv.c
parent7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff)
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/dv/gnunet-dv.c')
-rw-r--r--src/dv/gnunet-dv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dv/gnunet-dv.c b/src/dv/gnunet-dv.c
index d5d95acca..d0917d363 100644
--- a/src/dv/gnunet-dv.c
+++ b/src/dv/gnunet-dv.c
@@ -145,8 +145,7 @@ run (void *cls, char *const *args, const char *cfgfile,
&change_cb,
&disconnect_cb,
&message_cb);
- GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
- &shutdown_task, NULL);
+ GNUNET_SCHEDULER_add_shutdown (&shutdown_task, NULL);
}