diff options
3 files changed, 3 insertions, 5 deletions
diff --git a/src/ats/test_ats_api_performance_list_all_addresses.c b/src/ats/test_ats_api_performance_list_all_addresses.c index 679b34883..01c9e85ea 100644 --- a/src/ats/test_ats_api_performance_list_all_addresses.c +++ b/src/ats/test_ats_api_performance_list_all_addresses.c | |||
@@ -133,7 +133,7 @@ stat_cb(void *cls, const char *subsystem, | |||
133 | { | 133 | { |
134 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 134 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
135 | "All addresses added, connecting to performance\n"); | 135 | "All addresses added, connecting to performance\n"); |
136 | if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, &ats_perf_cb, NULL))) | 136 | if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, NULL, NULL))) |
137 | { | 137 | { |
138 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 138 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
139 | "Failed to connect to performance API\n"); | 139 | "Failed to connect to performance API\n"); |
diff --git a/src/ats/test_ats_api_performance_list_all_addresses_active.c b/src/ats/test_ats_api_performance_list_all_addresses_active.c index 1fc2e48dc..6f5271da3 100644 --- a/src/ats/test_ats_api_performance_list_all_addresses_active.c +++ b/src/ats/test_ats_api_performance_list_all_addresses_active.c | |||
@@ -142,7 +142,7 @@ stat_cb(void *cls, const char *subsystem, | |||
142 | { | 142 | { |
143 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 143 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
144 | "All addresses added, connecting to performance\n"); | 144 | "All addresses added, connecting to performance\n"); |
145 | if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, &ats_perf_cb, NULL))) | 145 | if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, NULL, NULL))) |
146 | { | 146 | { |
147 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 147 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
148 | "Failed to connect to performance API\n"); | 148 | "Failed to connect to performance API\n"); |
@@ -209,8 +209,6 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
209 | GNUNET_STATISTICS_destroy (stats, GNUNET_NO); | 209 | GNUNET_STATISTICS_destroy (stats, GNUNET_NO); |
210 | stats = NULL; | 210 | stats = NULL; |
211 | } | 211 | } |
212 | |||
213 | |||
214 | GNUNET_free_non_null(p0_addresses[0].addr); | 212 | GNUNET_free_non_null(p0_addresses[0].addr); |
215 | GNUNET_free_non_null(p0_addresses[1].addr); | 213 | GNUNET_free_non_null(p0_addresses[1].addr); |
216 | GNUNET_free_non_null(p1_addresses[0].addr); | 214 | GNUNET_free_non_null(p1_addresses[0].addr); |
diff --git a/src/ats/test_ats_api_performance_list_peer_addresses.c b/src/ats/test_ats_api_performance_list_peer_addresses.c index 59a2fcf50..60f27eaee 100644 --- a/src/ats/test_ats_api_performance_list_peer_addresses.c +++ b/src/ats/test_ats_api_performance_list_peer_addresses.c | |||
@@ -143,7 +143,7 @@ stat_cb(void *cls, const char *subsystem, | |||
143 | { | 143 | { |
144 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 144 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
145 | "All addresses added, connecting to performance\n"); | 145 | "All addresses added, connecting to performance\n"); |
146 | if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, &ats_perf_cb, NULL))) | 146 | if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, NULL, NULL))) |
147 | { | 147 | { |
148 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 148 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
149 | "Failed to connect to performance API\n"); | 149 | "Failed to connect to performance API\n"); |