From: Christian Grothoff Date: Tue, 2 Nov 2010 20:00:31 +0000 (+0000) Subject: cleanup X-Git-Tag: initial-import-from-subversion-38251~19871 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fedf9634ae0156c88c2fb9366b0cd54ca0dd230e;p=oweals%2Fgnunet.git cleanup --- diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index a5d345b60..789ae751f 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c @@ -1157,17 +1157,12 @@ handler_connect (void *cls, struct GNUNET_TIME_Relative latency, uint32_t distance) { - unsigned int max = 0 ; - max --; - - if (stat_connection_count < max) - { + GNUNET_assert (stat_connection_count < UINT_MAX); stat_connection_count++; GNUNET_STATISTICS_update (stats, gettext_noop ("# active connections"), 1, GNUNET_NO); - } }