diff options
Diffstat (limited to 'src/ats/gnunet-service-ats.c')
-rw-r--r-- | src/ats/gnunet-service-ats.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats.c b/src/ats/gnunet-service-ats.c index d54d09a33..b000ae99c 100644 --- a/src/ats/gnunet-service-ats.c +++ b/src/ats/gnunet-service-ats.c | |||
@@ -189,6 +189,7 @@ run (void *cls, | |||
189 | GSA_server = server; | 189 | GSA_server = server; |
190 | GSA_stats = GNUNET_STATISTICS_create ("ats", cfg); | 190 | GSA_stats = GNUNET_STATISTICS_create ("ats", cfg); |
191 | GAS_reservations_init (); | 191 | GAS_reservations_init (); |
192 | GAS_connectivity_init (); | ||
192 | GAS_normalization_start (); | 193 | GAS_normalization_start (); |
193 | GAS_addresses_init (); | 194 | GAS_addresses_init (); |
194 | if (GNUNET_OK != | 195 | if (GNUNET_OK != |
@@ -198,6 +199,7 @@ run (void *cls, | |||
198 | GAS_addresses_done (); | 199 | GAS_addresses_done (); |
199 | GAS_normalization_stop (); | 200 | GAS_normalization_stop (); |
200 | GAS_reservations_done (); | 201 | GAS_reservations_done (); |
202 | GAS_connectivity_done (); | ||
201 | if (NULL != GSA_stats) | 203 | if (NULL != GSA_stats) |
202 | { | 204 | { |
203 | GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO); | 205 | GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO); |
@@ -209,7 +211,7 @@ run (void *cls, | |||
209 | GAS_scheduling_init (server); | 211 | GAS_scheduling_init (server); |
210 | 212 | ||
211 | GNUNET_SERVER_disconnect_notify (server, | 213 | GNUNET_SERVER_disconnect_notify (server, |
212 | &client_disconnect_handler, | 214 | &client_disconnect_handler, |
213 | NULL); | 215 | NULL); |
214 | GNUNET_SERVER_add_handlers (server, handlers); | 216 | GNUNET_SERVER_add_handlers (server, handlers); |
215 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 217 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, |