printing command info at connection

This commit is contained in:
Václav Šmejkal 2024-09-01 19:59:12 +02:00
parent 1d970b94f8
commit 077ecc50c8
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -916,7 +916,7 @@ void *why2_listen_server(void *socket)
max_tries = get_int_from_json_string(read, "max_tries"); max_tries = get_int_from_json_string(read, "max_tries");
server_name = get_string_from_json_string(read, "server_name"); server_name = get_string_from_json_string(read, "server_name");
printf(WHY2_CLEAR_AND_GO_UP WHY2_CLEAR_AND_GO_UP "Successfully connected to %s.\n\n\n", server_name); //WELCOME printf(WHY2_CLEAR_AND_GO_UP WHY2_CLEAR_AND_GO_UP "Successfully connected to %s.\nUse !help for commands.\n\n\n", server_name); //WELCOME
why2_deallocate(server_name); why2_deallocate(server_name);
continuing = 1; continuing = 1;