summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivy.c')
-rw-r--r--src/ivy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ivy.c b/src/ivy.c
index 11376f8..b4ea31b 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -259,7 +259,8 @@ static void MsgSendTo( Client client, MsgType msgtype, int id, const char *messa
{
strncpy( ptr, message , len_arg);
}
- SocketSendRaw( client, packet, len );
+ SocketSendBuf( client, packet, len ); //TODO dont do multiple buffer copy
+ SocketFlush( client );
free( packet );
}