diff options
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 12 | ||||
-rw-r--r-- | src/ats/test_ats_api.conf | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 3249ed42ad..684749f42d 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c @@ -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, diff --git a/src/ats/test_ats_api.conf b/src/ats/test_ats_api.conf index d55d9911c1..4dc6884733 100644 --- a/src/ats/test_ats_api.conf +++ b/src/ats/test_ats_api.conf @@ -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 |