gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25786 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r25786 - gnunet/src/ats
Date: Tue, 15 Jan 2013 10:09:10 +0100

Author: wachs
Date: 2013-01-15 10:09:10 +0100 (Tue, 15 Jan 2013)
New Revision: 25786

Modified:
   gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c
Log:
get more information


Modified: gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c    2013-01-14 
16:44:14 UTC (rev 25785)
+++ gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c    2013-01-15 
09:09:10 UTC (rev 25786)
@@ -507,19 +507,19 @@
                           quota_out_used);
   if (quota_out_used > net->total_quota_out + 1) /* +1 is required due to 
rounding errors */
   {
-      GNUNET_break (0);
-      LOG (GNUNET_ERROR_TYPE_WARNING,
-                            "Total inbound bandwidth assigned is larget than 
allowed  %llu /%llu\n",
+      LOG (GNUNET_ERROR_TYPE_ERROR,
+                            "Total outbound bandwidth assigned is larger than 
allowed (used/allowed) for %u active addresses: %llu /%llu\n",
+                            net->active_addresses,
                             quota_out_used,
-                            quota_out);
+                            net->total_quota_out);
   }
   if (quota_in_used > net->total_quota_in + 1) /* +1 is required due to 
rounding errors */
   {
-      GNUNET_break (0);
-      LOG (GNUNET_ERROR_TYPE_WARNING,
-                            "Total inbound bandwidth assigned is larget than 
allowed  %llu /%llu\n",
+      LOG (GNUNET_ERROR_TYPE_ERROR,
+                            "Total inbound bandwidth assigned is larger than 
allowed (used/allowed) for %u active addresses: %llu /%llu\n",
+                            net->active_addresses,
                             quota_in_used,
-                            quota_in);
+                            net->total_quota_in);
   }
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]