[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25352 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25352 - gnunet/src/ats |
Date: |
Mon, 10 Dec 2012 14:01:26 +0100 |
Author: wachs
Date: 2012-12-10 14:01:26 +0100 (Mon, 10 Dec 2012)
New Revision: 25352
Modified:
gnunet/src/ats/gnunet-service-ats_performance.c
gnunet/src/ats/test_ats_api.conf
Log:
fix
Modified: gnunet/src/ats/gnunet-service-ats_performance.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_performance.c 2012-12-10 12:59:34 UTC
(rev 25351)
+++ gnunet/src/ats/gnunet-service-ats_performance.c 2012-12-10 13:01:26 UTC
(rev 25352)
@@ -399,23 +399,23 @@
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,
Modified: gnunet/src/ats/test_ats_api.conf
===================================================================
--- gnunet/src/ats/test_ats_api.conf 2012-12-10 12:59:34 UTC (rev 25351)
+++ gnunet/src/ats/test_ats_api.conf 2012-12-10 13:01:26 UTC (rev 25352)
@@ -7,7 +7,7 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25352 - gnunet/src/ats,
gnunet <=