aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2013-01-15 09:09:10 +0000
committerwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2013-01-15 09:09:10 +0000
commitea5d67081fcd0ad0ac85469c57581f22ee4f8692 (patch)
tree4ee17f685b4f1ad5c5dff3e45b344d1424e8bfb7 /src
parentaae54b6ca0ff1ba2263263b8f553676104530a11 (diff)
get more information
git-svn-id: https://gnunet.org/svn/gnunet@25786 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r--src/ats/gnunet-service-ats_addresses_simplistic.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ats/gnunet-service-ats_addresses_simplistic.c b/src/ats/gnunet-service-ats_addresses_simplistic.c
index 7a7c4febf3..6a22f33b5e 100644
--- a/src/ats/gnunet-service-ats_addresses_simplistic.c
+++ b/src/ats/gnunet-service-ats_addresses_simplistic.c
@@ -507,19 +507,19 @@ update_quota_per_network (struct GAS_SIMPLISTIC_Handle *s,
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);
}
}