diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-02-05 12:09:04 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-02-05 12:09:04 +0000 |
commit | d231b3ae2cfe8c4bec04c8242ca300c04e5b7b32 (patch) | |
tree | ab166f2d4d519b4e6130929692f17e06c9bed859 /src | |
parent | 9c17aecfc6bd795b24f8e4f0db0a1758826464d1 (diff) | |
download | gnunet-d231b3ae2cfe8c4bec04c8242ca300c04e5b7b32.tar.gz gnunet-d231b3ae2cfe8c4bec04c8242ca300c04e5b7b32.zip |
debugging statements
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index d2168e4ac..1b6537f4a 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -882,6 +882,10 @@ update_quota (struct NeighborList *n) | |||
882 | n->last_quota_update = GNUNET_TIME_absolute_get (); | 882 | n->last_quota_update = GNUNET_TIME_absolute_get (); |
883 | if (n->last_received > allowed) | 883 | if (n->last_received > allowed) |
884 | { | 884 | { |
885 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING | | ||
886 | GNUNET_ERROR_TYPE_BULK, | ||
887 | _ | ||
888 | ("LAST RECEIVED: %u greater than allowed : %u\n"), n->last_received, allowed); | ||
885 | /* more than twice the allowed rate! */ | 889 | /* more than twice the allowed rate! */ |
886 | n->quota_violation_count += 10; | 890 | n->quota_violation_count += 10; |
887 | } | 891 | } |