diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-16 09:55:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-16 09:55:26 +0000 |
commit | 87a3f6f5afa582a53a86353896d129c40404c7fb (patch) | |
tree | 39fc4f4978f75c03ee9e0a577d99ce884d08b2f7 /src/hostlist/gnunet-daemon-hostlist.c | |
parent | 95efc5d08313a956037ac08eac9b974481d09aa5 (diff) | |
download | gnunet-87a3f6f5afa582a53a86353896d129c40404c7fb.tar.gz gnunet-87a3f6f5afa582a53a86353896d129c40404c7fb.zip |
fixes
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index f5db86c91..133308edf 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c | |||
@@ -174,10 +174,6 @@ run (void *cls, | |||
174 | return; | 174 | return; |
175 | } | 175 | } |
176 | stats = GNUNET_STATISTICS_create (sched, "hostlist", cfg); | 176 | stats = GNUNET_STATISTICS_create (sched, "hostlist", cfg); |
177 | if (learning) | ||
178 | { | ||
179 | /* FIXME (register handler with core for hostlist ads) */ | ||
180 | } | ||
181 | if (bootstrapping) | 177 | if (bootstrapping) |
182 | { | 178 | { |
183 | GNUNET_HOSTLIST_client_start (cfg, sched, stats, | 179 | GNUNET_HOSTLIST_client_start (cfg, sched, stats, |
@@ -187,6 +183,10 @@ run (void *cls, | |||
187 | { | 183 | { |
188 | GNUNET_HOSTLIST_server_start (cfg, sched, stats); | 184 | GNUNET_HOSTLIST_server_start (cfg, sched, stats); |
189 | } | 185 | } |
186 | if (learning) | ||
187 | { | ||
188 | /* FIXME (register handler with core for hostlist ads) */ | ||
189 | } | ||
190 | core = GNUNET_CORE_connect (sched, cfg, | 190 | core = GNUNET_CORE_connect (sched, cfg, |
191 | GNUNET_TIME_UNIT_FOREVER_REL, | 191 | GNUNET_TIME_UNIT_FOREVER_REL, |
192 | NULL, | 192 | NULL, |