From ab46803a9197789e6bf1a4112a18f9590e79c7cc Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 21 Feb 2023 19:48:28 +0100 Subject: [PATCH] fixed why2_send_socket's send size --- src/chat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 734a99e..664ca1e 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -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); }