aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet.c')
-rw-r--r--src/cadet/gnunet-service-cadet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c
index a2e00300b..3a07f0ee5 100644
--- a/src/cadet/gnunet-service-cadet.c
+++ b/src/cadet/gnunet-service-cadet.c
@@ -135,8 +135,8 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
135 stats = GNUNET_STATISTICS_create ("cadet", c); 135 stats = GNUNET_STATISTICS_create ("cadet", c);
136 136
137 /* Scheduled the task to clean up when shutdown is called */ 137 /* Scheduled the task to clean up when shutdown is called */
138 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &shutdown_task, 138 GNUNET_SCHEDULER_add_shutdown (&shutdown_task,
139 NULL); 139 NULL);
140 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "reading key\n"); 140 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "reading key\n");
141 my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_configuration (c); 141 my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_configuration (c);
142 GNUNET_assert (NULL != my_private_key); 142 GNUNET_assert (NULL != my_private_key);