From f89b376e4ba2b9b6092a66291518c7de3d80eb18 Mon Sep 17 00:00:00 2001 From: Nikita Ivanov Date: Wed, 1 Jun 2022 03:13:21 +0500 Subject: [PATCH] Fix: wrong label --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index e875ca6..6870f49 100644 --- a/server.c +++ b/server.c @@ -100,7 +100,7 @@ static int listen(char *fifo) if (pollfd.revents & POLLHUP) { close(pollfd.fd); - ERRCHK_GOTO_OK(open_fifo(&pollfd.fd, fifo), ret, exit); + ERRCHK_GOTO_OK(open_fifo(&pollfd.fd, fifo), ret, close); } }