From c9c4f4bfd37e1a4f5fd8ba5728b1e6d81861017d Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 9 Feb 2023 18:37:15 +0100 Subject: [PATCH] changed die function exit code to 1 --- src/chat/server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/server/main.c b/src/chat/server/main.c index b7b03b8..f73c1b2 100644 --- a/src/chat/server/main.c +++ b/src/chat/server/main.c @@ -59,7 +59,7 @@ void die(char *exit_msg) why2_clean_memory(why2_get_default_memory_identifier()); //GARBAGE COLLECTOR - exit(0); + exit(1); } char *read_socket(int socket)