do not use monitor callback
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 25 Sep 2013 15:37:25 +0000 (15:37 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 25 Sep 2013 15:37:25 +0000 (15:37 +0000)
src/ats/test_ats_api_performance_list_all_addresses.c
src/ats/test_ats_api_performance_list_all_addresses_active.c
src/ats/test_ats_api_performance_list_peer_addresses.c

index 679b3488392e2b827a50f7673b0e07e5fad40e70..01c9e85ea91518516020ce5687e687bd1d67c892 100644 (file)
@@ -133,7 +133,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");
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);
index 59a2fcf5018589edb3f50dc40e3a99c3f724527b..60f27eaeef2988b148b83d3520148b66aae8c22e 100644 (file)
@@ -143,7 +143,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");