debugging statements
authorNathan S. Evans <evans@in.tum.de>
Fri, 5 Feb 2010 12:09:04 +0000 (12:09 +0000)
committerNathan S. Evans <evans@in.tum.de>
Fri, 5 Feb 2010 12:09:04 +0000 (12:09 +0000)
src/transport/gnunet-service-transport.c

index d2168e4ac3bc73fe417b79cc22a89e185b545d94..1b6537f4a94db6686525cf51275d19496a52c1fe 100644 (file)
@@ -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;
         }