fix
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 10 Dec 2012 13:01:26 +0000 (13:01 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 10 Dec 2012 13:01:26 +0000 (13:01 +0000)
src/ats/gnunet-service-ats_performance.c
src/ats/test_ats_api.conf

index 3249ed42ad4cc37e991813315d84127ff9064273..684749f42d46ea148eede144806d0b51440ad5a4 100644 (file)
@@ -399,23 +399,23 @@ req_addr_peerinfo_it (void *cls,
       return;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-              "Callback for  %s peer `%s' plugin `%s' BW out %llu, BW in %llu \n",
+              "Callback for  %s peer `%s' plugin `%s' BW out %u, BW in %u \n",
               (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE",
               GNUNET_i2s (id),
               plugin_name,
-              ntohl (bandwidth_out.value__),
-              ntohl (bandwidth_in.value__));
+              (unsigned int) ntohl (bandwidth_out.value__),
+              (unsigned int) ntohl (bandwidth_in.value__));
 
   /* Transmit result */
   if ((GNUNET_YES == ai->all) || (GNUNET_YES == active))
   {
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                  "Sending result for  %s peer `%s' plugin `%s' BW out %llu, BW in %llu \n",
+                  "Sending result for  %s peer `%s' plugin `%s' BW out %u, BW in %u \n",
                   (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE",
                   GNUNET_i2s (id),
                   plugin_name,
-                  ntohl (bandwidth_out.value__),
-                  ntohl (bandwidth_in.value__));
+                  (unsigned int) ntohl (bandwidth_out.value__),
+                  (unsigned int) ntohl (bandwidth_in.value__));
     transmit_req_addr (cls,
         id,
         plugin_name,
index d55d9911c1042197e2c9ee05babc0caf773ef7f8..4dc68847332d70050921ac686b3049c12ee006d2 100644 (file)
@@ -7,7 +7,7 @@ DEFAULTSERVICES = ats
 UNIXPATH = /tmp/test-ats-scheduling-arm.sock
 
 [ats]
-#PREFIX = valgrind --leak-check=full
+PREFIX = valgrind --leak-check=full --track-origins=yes --num-callers=25
 AUTOSTART = YES
 PORT = 12002
 HOSTNAME = localhost