aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-25 14:31:21 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-25 14:31:21 +0200
commit43a39a1f2e5e6c7c520f03293fc57aa76fea8aaf (patch)
treebf532763ebb0ef219639d401a10f1fffcf02c7b4
parent93571556ee97e1a3e1829f8bc708d1d63f188840 (diff)
handler.c: Do not printf when exiting
libweb is meant to be silent during normal operation, thus only printing to stderr on errors.
-rw-r--r--handler.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/handler.c b/handler.c
index b8ecb52..9ae9b10 100644
--- a/handler.c
+++ b/handler.c
@@ -205,10 +205,7 @@ int handler_loop(struct handler *const h)
struct server_client *const c = server_poll(h->server, &io, &exit);
if (exit)
- {
- printf("Exiting...\n");
break;
- }
else if (!c)
{
fprintf(stderr, "%s: server_poll failed\n", __func__);