updated configuration files
[oweals/gnunet.git] / src / ats / test_ats_api_performance_list_all_addresses_active.c
index 1fc2e48dc618a6a88c4195dd6fdf5943c98fc76b..6f5271da318d067c2f2bd5f9c0f32ef0a35e7efa 100644 (file)
@@ -142,7 +142,7 @@ stat_cb(void *cls, const char *subsystem,
   {
     GNUNET_log (GNUNET_ERROR_TYPE_INFO,
         "All addresses added, connecting to performance\n");
-    if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, &ats_perf_cb, NULL)))
+    if (NULL == (perf_ats = GNUNET_ATS_performance_init (cfg, NULL, NULL)))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
           "Failed to connect to performance API\n");
@@ -209,8 +209,6 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
     GNUNET_STATISTICS_destroy (stats, GNUNET_NO);
     stats = NULL;
   }
-
-
   GNUNET_free_non_null(p0_addresses[0].addr);
   GNUNET_free_non_null(p0_addresses[1].addr);
   GNUNET_free_non_null(p1_addresses[0].addr);