diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-24 14:11:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-24 14:11:17 +0000 |
commit | 6e03d509075d2cd38fabab6568b4c2bf2451505e (patch) | |
tree | 245379e96866662db100eb35c75be1206f1f661b /src/ats/gnunet-service-ats_performance.c | |
parent | c77bdc9b0fec7ce8201c5f3f5c915485abaf2dcd (diff) | |
download | gnunet-6e03d509075d2cd38fabab6568b4c2bf2451505e.tar.gz gnunet-6e03d509075d2cd38fabab6568b4c2bf2451505e.zip |
-fixing misc format strings
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 6509dbe9d..7e9b4802e 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -261,11 +261,11 @@ 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 %lu, BW in %lu \n", | 264 | "Callback for peer `%s' plugin `%s' BW out %u, BW in %u \n", |
265 | GNUNET_i2s (id), | 265 | GNUNET_i2s (id), |
266 | plugin_name, | 266 | plugin_name, |
267 | ntohl (bandwidth_out.value__), | 267 | (unsigned int) ntohl (bandwidth_out.value__), |
268 | ntohl (bandwidth_in.value__)); | 268 | (unsigned int) ntohl (bandwidth_in.value__)); |
269 | GAS_performance_notify_client(pc, | 269 | GAS_performance_notify_client(pc, |
270 | id, | 270 | id, |
271 | plugin_name, | 271 | plugin_name, |
@@ -405,31 +405,31 @@ 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 %lu, BW in %lu \n", | 408 | "Callback for %s peer `%s' plugin `%s' BW out %u, BW in %u\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 | ntohl (bandwidth_out.value__), | 412 | (unsigned int) ntohl (bandwidth_out.value__), |
413 | ntohl (bandwidth_in.value__)); | 413 | (unsigned int) 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 %lu, BW in %lu \n", | 419 | "Sending result for %s peer `%s' plugin `%s' BW out %u, BW in %u\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 | ntohl (bandwidth_out.value__), | 423 | (unsigned int) ntohl (bandwidth_out.value__), |
424 | ntohl (bandwidth_in.value__)); | 424 | (unsigned int) ntohl (bandwidth_in.value__)); |
425 | transmit_req_addr (cls, | 425 | transmit_req_addr (cls, |
426 | id, | 426 | id, |
427 | plugin_name, | 427 | plugin_name, |
428 | plugin_addr, plugin_addr_len, | 428 | plugin_addr, plugin_addr_len, |
429 | active, | 429 | active, |
430 | atsi, | 430 | atsi, |
431 | atsi_count, | 431 | atsi_count, |
432 | bandwidth_out, bandwidth_in); | 432 | bandwidth_out, bandwidth_in); |
433 | } | 433 | } |
434 | } | 434 | } |
435 | 435 | ||