From 87e7e394a454d8b083a420fdbd89a65b0ac4db62 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 16 Oct 2023 21:09:07 +0200 Subject: [PATCH] listen_loop(): Improve an error message --- jcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jcc.c b/jcc.c index 4b69424b..5c1b882c 100644 --- a/jcc.c +++ b/jcc.c @@ -6269,7 +6269,8 @@ static void listen_loop(void) if (!accept_connection(csp, bfds)) { - log_error(LOG_LEVEL_CONNECT, "accept failed: %E"); + log_error(LOG_LEVEL_CONNECT, + "Failed to accept() incoming connection: %E"); freez(csp_list); continue; } -- 2.39.2