From: Christian Grothoff Date: Wed, 23 Jun 2010 15:23:56 +0000 (+0000) Subject: check X-Git-Tag: initial-import-from-subversion-38251~21250 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4c751d9030db7e122fa39878e7b9f766ae0db241;p=oweals%2Fgnunet.git check --- diff --git a/src/util/service.c b/src/util/service.c index 44d72f376..a61c4a6c5 100644 --- a/src/util/service.c +++ b/src/util/service.c @@ -1173,7 +1173,7 @@ setup_service (struct GNUNET_SERVICE_Context *sctx) (unsigned int) 3 +cnt); cnt++; while (sctx->lsocks[cnt] != NULL) - GNUNET_NETWORK_socket_close (sctx->lsocks[cnt++]); + GNUNET_break (0 == GNUNET_NETWORK_socket_close (sctx->lsocks[cnt++])); GNUNET_free (sctx->lsocks); sctx->lsocks = NULL; break;