diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-12 17:21:26 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-12 17:21:26 +0000 |
commit | e31812bc030130c0faf6ff6fe5ca44bee440f4fb (patch) | |
tree | e6ea5ea18627d6fb2f739c49837a48a124adc5a1 /src/ats/gnunet-service-ats.c | |
parent | 06a019a9709560e03de00eef9f9edc37511410ab (diff) | |
download | gnunet-e31812bc030130c0faf6ff6fe5ca44bee440f4fb.tar.gz gnunet-e31812bc030130c0faf6ff6fe5ca44bee440f4fb.zip |
- even more mlp
Diffstat (limited to 'src/ats/gnunet-service-ats.c')
-rw-r--r-- | src/ats/gnunet-service-ats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats.c b/src/ats/gnunet-service-ats.c index ff623594a..7deca0b62 100644 --- a/src/ats/gnunet-service-ats.c +++ b/src/ats/gnunet-service-ats.c | |||
@@ -114,7 +114,7 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
114 | if (NULL != GSA_stats) | 114 | if (NULL != GSA_stats) |
115 | { | 115 | { |
116 | GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO); | 116 | GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO); |
117 | GSA_stats = 0; | 117 | GSA_stats = NULL; |
118 | } | 118 | } |
119 | } | 119 | } |
120 | 120 | ||
@@ -156,7 +156,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
156 | GAS_reservations_init (); | 156 | GAS_reservations_init (); |
157 | GAS_performance_init (server); | 157 | GAS_performance_init (server); |
158 | GAS_scheduling_init (server); | 158 | GAS_scheduling_init (server); |
159 | GAS_addresses_init (cfg); | 159 | GAS_addresses_init (cfg, GSA_stats); |
160 | GNUNET_SERVER_disconnect_notify (server, &client_disconnect_handler, NULL); | 160 | GNUNET_SERVER_disconnect_notify (server, &client_disconnect_handler, NULL); |
161 | GNUNET_SERVER_add_handlers (server, handlers); | 161 | GNUNET_SERVER_add_handlers (server, handlers); |
162 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup_task, | 162 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup_task, |