aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-05 16:26:23 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-05 16:26:23 +0000
commit3d7aad54ba7e7d2e51f5090eabffb29715854ad8 (patch)
tree6d565f2b60e7e56d2e06be3e592b71fba7d8d5f8 /src/ats/gnunet-service-ats.c
parentb2a4dcbce4f56046fbdcd4b114ec7a3feb4793fd (diff)
downloadgnunet-3d7aad54ba7e7d2e51f5090eabffb29715854ad8.tar.gz
gnunet-3d7aad54ba7e7d2e51f5090eabffb29715854ad8.zip
separating out feedback from preferences
Diffstat (limited to 'src/ats/gnunet-service-ats.c')
-rw-r--r--src/ats/gnunet-service-ats.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats.c b/src/ats/gnunet-service-ats.c
index a93be5466..0014f7350 100644
--- a/src/ats/gnunet-service-ats.c
+++ b/src/ats/gnunet-service-ats.c
@@ -111,7 +111,7 @@ client_disconnect_handler (void *cls,
111 GAS_scheduling_remove_client (client); 111 GAS_scheduling_remove_client (client);
112 GAS_connectivity_remove_client (client); 112 GAS_connectivity_remove_client (client);
113 GAS_normalization_preference_client_disconnect (client); 113 GAS_normalization_preference_client_disconnect (client);
114 GAS_addresses_preference_client_disconnect (client); 114 GAS_preference_client_disconnect (client);
115} 115}
116 116
117 117
@@ -189,6 +189,7 @@ run (void *cls,
189 GSA_stats = GNUNET_STATISTICS_create ("ats", cfg); 189 GSA_stats = GNUNET_STATISTICS_create ("ats", cfg);
190 GAS_reservations_init (server); 190 GAS_reservations_init (server);
191 GAS_connectivity_init (); 191 GAS_connectivity_init ();
192 GAS_preference_init ();
192 GAS_normalization_start (); 193 GAS_normalization_start ();
193 GAS_addresses_init (server); 194 GAS_addresses_init (server);
194 if (GNUNET_OK != 195 if (GNUNET_OK !=
@@ -199,6 +200,7 @@ run (void *cls,
199 GAS_normalization_stop (); 200 GAS_normalization_stop ();
200 GAS_reservations_done (); 201 GAS_reservations_done ();
201 GAS_connectivity_done (); 202 GAS_connectivity_done ();
203 GAS_preference_done ();
202 if (NULL != GSA_stats) 204 if (NULL != GSA_stats)
203 { 205 {
204 GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO); 206 GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO);