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 <https://www.gnu.org/licenses/>. #include <pthread.h> +#include <why2/chat/config.h> #include <why2/chat/flags.h> #include <why2/chat/misc.h> @@ -32,6 +33,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. 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;