aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.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/revocation/gnunet-service-revocation.c
parent7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff)
downloadgnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz
gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index e41195d55..9f3162690 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -901,9 +901,8 @@ run (void *cls,
901 } 901 }
902 GNUNET_free (fn); 902 GNUNET_free (fn);
903 903
904 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 904 GNUNET_SCHEDULER_add_shutdown (&shutdown_task,
905 &shutdown_task, 905 NULL);
906 NULL);
907 peers = GNUNET_CONTAINER_multipeermap_create (128, 906 peers = GNUNET_CONTAINER_multipeermap_create (128,
908 GNUNET_YES); 907 GNUNET_YES);
909 GNUNET_SERVER_add_handlers (srv, handlers); 908 GNUNET_SERVER_add_handlers (srv, handlers);