From deecbda91cb48828a92b335b47b65ebdab4ac851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Mon, 24 Oct 2022 23:04:35 +0800 Subject: [PATCH] youhua --- server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.c b/server.c index f45fc55..78cbcfb 100644 --- a/server.c +++ b/server.c @@ -609,10 +609,11 @@ static void accept_timer(void *p) { pthread_kill(thread, SIGQUIT); puts("Kill thread"); } - goto TIMER_SLEEP; + break; } sleep(MAXWAITSEC / 4); } + goto TIMER_SLEEP; } static void cleanup_thread(thread_timer_t* timer) {