From 3e31d9fc419b32cb1a6d19fc5bcc2d88cedb53f7 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 18 Nov 2010 01:53:31 +0000 Subject: [PATCH] fix proquake rcon replies - use NetConn_Write, not NetConn_WriteString git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10604 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=5e61ba1b0bf8387dc28a22dce5e236a558c140b3 --- console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.c b/console.c index 4421def8..ccdd38da 100644 --- a/console.c +++ b/console.c @@ -914,7 +914,7 @@ void Con_Rcon_Redirect_Flush(void) // update the length in the packet header StoreBigLong((unsigned char *)rcon_redirect_buffer, NETFLAG_CTL | (rcon_redirect_bufferpos & NETFLAG_LENGTH_MASK)); } - NetConn_WriteString(rcon_redirect_sock, rcon_redirect_buffer, rcon_redirect_dest); + NetConn_Write(rcon_redirect_sock, rcon_redirect_buffer, rcon_redirect_bufferpos, rcon_redirect_dest); memcpy(rcon_redirect_buffer, "\377\377\377\377n", 5); // QW rcon print rcon_redirect_bufferpos = 5; rcon_redirect_proquakeprotocol = false; -- 2.39.2