fixed why2_send_socket's send size

This commit is contained in:
Václav Šmejkal 2023-02-21 19:48:28 +01:00
parent 4b85ba17dd
commit ab46803a91
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -121,7 +121,7 @@ void why2_send_socket(char *text, int socket)
}
//SEND
send(socket, final, text_length + 2, 0);
send(socket, final, text_length, 0);
why2_deallocate(final);
}