From 03e2cb1c8d96b518218f68799df950c2db647a05 Mon Sep 17 00:00:00 2001 From: Pysicopadingo Date: Thu, 27 Oct 2022 02:03:50 +0200 Subject: [PATCH] Cleaning typo --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index dfa8b3a..43ac5ac 100644 --- a/src/server.c +++ b/src/server.c @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) { if (pthread_create(&dispatcher, NULL, Dispatcher, NULL) != 0) { fprintf(stderr, "pthread_create: error for Dispatcher\n"); - exit(EXIT_FAILURE); + return EXIT_FAILURE; } /* Loop to accept incoming connections */