diff options
author | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-10 13:01:26 +0000 |
---|---|---|
committer | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-10 13:01:26 +0000 |
commit | d6593b458e5abb8b2df36aa59c3f1a3bce81802a (patch) | |
tree | 3e66aad1ff8019635687160e20bfb1eb85a509e3 | |
parent | 6a9ba6a6eae2769a97d898d4734b4e4d19fbe5c1 (diff) |
fix
git-svn-id: https://gnunet.org/svn/gnunet@25352 140774ce-b5e7-0310-ab8b-a85725594a96
-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 |