aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-02-05 12:12:46 +0000
committerNathan S. Evans <evans@in.tum.de>2010-02-05 12:12:46 +0000
commit26493e327f40c4604bb559ca05fab46f622201ec (patch)
tree7d88768e71b1516b4377d97b379fc159d12522b3 /src
parentd231b3ae2cfe8c4bec04c8242ca300c04e5b7b32 (diff)
downloadgnunet-26493e327f40c4604bb559ca05fab46f622201ec.tar.gz
gnunet-26493e327f40c4604bb559ca05fab46f622201ec.zip
debug
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index 1b6537f4a..4df3d7c29 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -859,7 +859,7 @@ update_quota (struct NeighborList *n)
859 GNUNET_log (GNUNET_ERROR_TYPE_WARNING | 859 GNUNET_log (GNUNET_ERROR_TYPE_WARNING |
860 GNUNET_ERROR_TYPE_BULK, 860 GNUNET_ERROR_TYPE_BULK,
861 _ 861 _
862 ("Update quota: last received is %u, allowed is %u\n"), n->last_received, allowed); 862 ("Update quota: last received is %llu, allowed is %u\n"), n->last_received, allowed);
863 863
864 if (n->last_received < allowed) 864 if (n->last_received < allowed)
865 { 865 {
@@ -885,7 +885,7 @@ update_quota (struct NeighborList *n)
885 GNUNET_log (GNUNET_ERROR_TYPE_WARNING | 885 GNUNET_log (GNUNET_ERROR_TYPE_WARNING |
886 GNUNET_ERROR_TYPE_BULK, 886 GNUNET_ERROR_TYPE_BULK,
887 _ 887 _
888 ("LAST RECEIVED: %u greater than allowed : %u\n"), n->last_received, allowed); 888 ("LAST RECEIVED: %llu greater than allowed : %u\n"), n->last_received, allowed);
889 /* more than twice the allowed rate! */ 889 /* more than twice the allowed rate! */
890 n->quota_violation_count += 10; 890 n->quota_violation_count += 10;
891 } 891 }