From ea5d67081fcd0ad0ac85469c57581f22ee4f8692 Mon Sep 17 00:00:00 2001 From: wachs Date: Tue, 15 Jan 2013 09:09:10 +0000 Subject: get more information git-svn-id: https://gnunet.org/svn/gnunet@25786 140774ce-b5e7-0310-ab8b-a85725594a96 --- src/ats/gnunet-service-ats_addresses_simplistic.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3-18-g5258