ats_ril: - removed some redundantly saved plugin environment attributes
[oweals/gnunet.git] / src / ats / test_ats_api_performance_address_info.c
index d321a22195e80b0b6804b9445caa31b201d57506..294d0919201bd32e4072220154c2d229aaa15d1a 100644 (file)
@@ -152,7 +152,7 @@ static void end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 static void
 addrinfo_cb (void *cls,
                                                const struct GNUNET_HELLO_Address *address,
-                                               unsigned int address_active,
+                                               int address_active,
                                                struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
                                                struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
                                                const struct GNUNET_ATS_Information *ats,
@@ -226,7 +226,7 @@ static void next (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 }
 
 static void
-run (void *cls, 
+run (void *cls,
      const struct GNUNET_CONFIGURATION_Handle *mycfg,
      struct GNUNET_TESTING_Peer *peer)
 {
@@ -235,7 +235,7 @@ run (void *cls,
   cfg = (struct GNUNET_CONFIGURATION_Handle *) mycfg;
   die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL);
 
-  ph = GNUNET_ATS_performance_init (cfg, NULL, NULL, addrinfo_cb, NULL);
+  ph = GNUNET_ATS_performance_init (cfg, addrinfo_cb, NULL);
   GNUNET_assert (NULL != ph);
 
   sh = GNUNET_ATS_scheduling_init (cfg, &ats_suggest_cb, NULL);