From d231b3ae2cfe8c4bec04c8242ca300c04e5b7b32 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Fri, 5 Feb 2010 12:09:04 +0000 Subject: [PATCH] debugging statements --- src/transport/gnunet-service-transport.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.25.1