reverting changes
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 3 Nov 2010 09:54:58 +0000 (09:54 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 3 Nov 2010 09:54:58 +0000 (09:54 +0000)
src/hostlist/hostlist-client.c

index 418c363090b0696b74c1a314850b9ee20d824f08..e41c8ff18cb30921b12e353688d499a290d2b7f6 100644 (file)
@@ -1177,13 +1177,7 @@ handler_disconnect (void *cls,
                    const struct
                    GNUNET_PeerIdentity * peer)
 {
-  /* GNUNET_assert (stat_connection_count > 0); */
-  if (stat_connection_count == 0)
-  {
-      GNUNET_break_op (0);
-      return;
-  }
-
+  GNUNET_assert (stat_connection_count > 0);
   stat_connection_count--;
   GNUNET_STATISTICS_update (stats,
                                                        gettext_noop ("# active connections"),