aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_performance.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-12-24 13:26:21 +0000
committerLRN <lrn1986@gmail.com>2013-12-24 13:26:21 +0000
commit41a801e9f6ddbcf4a8ff5d178482fcd025d5ab05 (patch)
tree6ac0bbc2b94c04c2b4efafe4d8cf92d2371720d2 /src/ats/gnunet-service-ats_performance.c
parent4364b5c5ca47451110760faf1e0bf3d07fd26130 (diff)
downloadgnunet-41a801e9f6ddbcf4a8ff5d178482fcd025d5ab05.tar.gz
gnunet-41a801e9f6ddbcf4a8ff5d178482fcd025d5ab05.zip
value__ is uint32_t, use %lu to print
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r--src/ats/gnunet-service-ats_performance.c14
1 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 a9673821a..6509dbe9d 100644
--- a/src/ats/gnunet-service-ats_performance.c
+++ b/src/ats/gnunet-service-ats_performance.c
@@ -261,7 +261,7 @@ peerinfo_it (void *cls,
261 return; 261 return;
262 262
263 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 263 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
264 "Callback for peer `%s' plugin `%s' BW out %llu, BW in %llu \n", 264 "Callback for peer `%s' plugin `%s' BW out %lu, BW in %lu \n",
265 GNUNET_i2s (id), 265 GNUNET_i2s (id),
266 plugin_name, 266 plugin_name,
267 ntohl (bandwidth_out.value__), 267 ntohl (bandwidth_out.value__),
@@ -405,23 +405,23 @@ req_addr_peerinfo_it (void *cls,
405 return; 405 return;
406 } 406 }
407 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 407 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
408 "Callback for %s peer `%s' plugin `%s' BW out %u, BW in %u \n", 408 "Callback for %s peer `%s' plugin `%s' BW out %lu, BW in %lu \n",
409 (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE", 409 (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE",
410 GNUNET_i2s (id), 410 GNUNET_i2s (id),
411 plugin_name, 411 plugin_name,
412 (unsigned int) ntohl (bandwidth_out.value__), 412 ntohl (bandwidth_out.value__),
413 (unsigned int) ntohl (bandwidth_in.value__)); 413 ntohl (bandwidth_in.value__));
414 414
415 /* Transmit result */ 415 /* Transmit result */
416 if ((GNUNET_YES == ai->all) || (GNUNET_YES == active)) 416 if ((GNUNET_YES == ai->all) || (GNUNET_YES == active))
417 { 417 {
418 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 418 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
419 "Sending result for %s peer `%s' plugin `%s' BW out %u, BW in %u \n", 419 "Sending result for %s peer `%s' plugin `%s' BW out %lu, BW in %lu \n",
420 (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE", 420 (active == GNUNET_YES) ? "ACTIVE" : "INACTIVE",
421 GNUNET_i2s (id), 421 GNUNET_i2s (id),
422 plugin_name, 422 plugin_name,
423 (unsigned int) ntohl (bandwidth_out.value__), 423 ntohl (bandwidth_out.value__),
424 (unsigned int) ntohl (bandwidth_in.value__)); 424 ntohl (bandwidth_in.value__));
425 transmit_req_addr (cls, 425 transmit_req_addr (cls,
426 id, 426 id,
427 plugin_name, 427 plugin_name,