diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-04-25 07:58:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-04-25 07:58:06 +0000 |
commit | 1aa08ac49c4458eb0643d20fff6959eea4dc27cc (patch) | |
tree | 061e76be652d6d80e1b755a661a59b037a10b65d /src/topology/gnunet-daemon-topology.c | |
parent | 8f5fb41ffbf0388465c097c94b5fd3a614fb3b1f (diff) | |
download | gnunet-1aa08ac49c4458eb0643d20fff6959eea4dc27cc.tar.gz gnunet-1aa08ac49c4458eb0643d20fff6959eea4dc27cc.zip |
-indent
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 12 |
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 | */ |
1211 | static void | 1211 | static void |
1212 | run (void *cls, char *const *args, const char *cfgfile, | 1212 | run (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); |