aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/topology/gnunet-daemon-topology.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index db9177be8..ecead4886 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -1209,7 +1209,9 @@ cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1209 * @param c configuration 1209 * @param c configuration
1210 */ 1210 */
1211static void 1211static void
1212run (void *cls, char *const *args, const char *cfgfile, 1212run (void *cls,
1213 char *const *args,
1214 const char *cfgfile,
1213 const struct GNUNET_CONFIGURATION_Handle *c) 1215 const struct GNUNET_CONFIGURATION_Handle *c)
1214{ 1216{
1215 static struct GNUNET_CORE_MessageHandler handlers[] = { 1217 static struct GNUNET_CORE_MessageHandler handlers[] = {
@@ -1243,8 +1245,12 @@ run (void *cls, char *const *args, const char *cfgfile,
1243 blacklist = GNUNET_TRANSPORT_blacklist (cfg, &blacklist_check, NULL); 1245 blacklist = GNUNET_TRANSPORT_blacklist (cfg, &blacklist_check, NULL);
1244 transport = GNUNET_TRANSPORT_connect (cfg, NULL, NULL, NULL, NULL, NULL); 1246 transport = GNUNET_TRANSPORT_connect (cfg, NULL, NULL, NULL, NULL, NULL);
1245 handle = 1247 handle =
1246 GNUNET_CORE_connect (cfg, NULL, &core_init, &connect_notify, 1248 GNUNET_CORE_connect (cfg, NULL,
1247 &disconnect_notify, NULL, GNUNET_NO, NULL, GNUNET_NO, 1249 &core_init,
1250 &connect_notify,
1251 &disconnect_notify,
1252 NULL, GNUNET_NO,
1253 NULL, GNUNET_NO,
1248 handlers); 1254 handlers);
1249 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleaning_task, 1255 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleaning_task,
1250 NULL); 1256 NULL);