From: Nathan S. Evans Date: Fri, 5 Feb 2010 12:09:04 +0000 (+0000) Subject: debugging statements X-Git-Tag: initial-import-from-subversion-38251~22784 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d231b3ae2cfe8c4bec04c8242ca300c04e5b7b32;p=oweals%2Fgnunet.git debugging statements --- 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) 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; }