projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c17aec
)
debugging statements
author
Nathan S. Evans
<evans@in.tum.de>
Fri, 5 Feb 2010 12:09:04 +0000
(12:09 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Fri, 5 Feb 2010 12:09:04 +0000
(12:09 +0000)
src/transport/gnunet-service-transport.c
patch
|
blob
|
history
diff --git
a/src/transport/gnunet-service-transport.c
b/src/transport/gnunet-service-transport.c
index d2168e4ac3bc73fe417b79cc22a89e185b545d94..1b6537f4a94db6686525cf51275d19496a52c1fe 100644
(file)
--- a/
src/transport/gnunet-service-transport.c
+++ b/
src/transport/gnunet-service-transport.c
@@
-882,6
+882,10
@@
update_quota (struct NeighborList *n)
n->last_quota_update = GNUNET_TIME_absolute_get ();
if (n->last_received > allowed)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING |
+ GNUNET_ERROR_TYPE_BULK,
+ _
+ ("LAST RECEIVED: %u greater than allowed : %u\n"), n->last_received, allowed);
/* more than twice the allowed rate! */
n->quota_violation_count += 10;
}