From: Christian Grothoff Date: Tue, 12 Feb 2019 07:37:59 +0000 (+0100) Subject: another issue with the #5511 patch X-Git-Tag: v0.11.0~63^2~94^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=abf25faba2e79ff44841d21e2fc90f825e9979c1;p=oweals%2Fgnunet.git another issue with the #5511 patch --- diff --git a/src/util/service.c b/src/util/service.c index 5117f006f..f38e4b353 100644 --- a/src/util/service.c +++ b/src/util/service.c @@ -888,6 +888,8 @@ accept_client (void *cls) start_client (slc->sh, sock); } + if (0 != sh->suspend_state) + return; slc->listen_task = GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_UNIT_FOREVER_REL, slc->listen_socket,