minimal username length fix

This commit is contained in:
Václav Šmejkal 2024-01-28 13:47:18 +01:00
parent b9e85da4dc
commit 9b95117a7c
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -633,7 +633,7 @@ void *why2_listen_server(void *socket)
exiting = 1; //EXIT THIS THREAD exiting = 1; //EXIT THIS THREAD
} else if (strcmp(read + 8, WHY2_CHAT_CODE_PICK_USERNAME) == 0) //PICK USERNAME } else if (strcmp(read + 8, WHY2_CHAT_CODE_PICK_USERNAME) == 0) //PICK USERNAME
{ {
printf("%sEnter username (a-Z, 0-9; %d-%d characters):\n", WHY2_CLEAR_AND_GO_UP, WHY2_MAX_USERNAME_LENGTH, WHY2_MAX_USERNAME_LENGTH); printf("%sEnter username (a-Z, 0-9; %d-%d characters):\n", WHY2_CLEAR_AND_GO_UP, WHY2_MIN_USERNAME_LENGTH, WHY2_MAX_USERNAME_LENGTH);
fflush(stdout); fflush(stdout);
goto continue_input; goto continue_input;