From 2f1c9dfe75a3615c16a6100e74fb833a45866a2d Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 20 Apr 2023 21:35:41 +0200 Subject: [PATCH] implemented why2_chat_init_config in chat-server --- src/chat/main/server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/chat/main/server.c b/src/chat/main/server.c index bdafcb1..06c00b8 100644 --- a/src/chat/main/server.c +++ b/src/chat/main/server.c @@ -25,6 +25,7 @@ along with this program. If not, see . #include +#include #include #include @@ -32,6 +33,8 @@ along with this program. If not, see . int main(void) { + why2_chat_init_config(); + int listen_socket = socket(AF_INET, SOCK_STREAM, 0); //CREATE SERVER SOCKET pthread_t thread; size_t line_length_buffer = 0;