another issue with the #5511 patch
authorChristian Grothoff <christian@grothoff.org>
Tue, 12 Feb 2019 07:37:59 +0000 (08:37 +0100)
committerChristian Grothoff <christian@grothoff.org>
Tue, 12 Feb 2019 07:37:59 +0000 (08:37 +0100)
src/util/service.c

index 5117f006fd48ddb4f2b767d02a31cd211b35b4bb..f38e4b353c507e6d29b2deebd9e39f093ed7dc9f 100644 (file)
@@ -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,