From b187be310e6f5c8a535864558827e16140ede6b1 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Mon, 24 Mar 2008 20:58:48 +0000 Subject: Remove useless time wraparound checks. Apply more careful input sanitizing in several places (issues revealed by zzuf(1)). Remove stereo *.wav loading stuff, Q2 has never supported it properly. Fixed a memory leak in Image_LoadPCX. Mark clients after receiving ICMP errors from them, drop after `sv_ghostime' seconds. --- source/sys_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/sys_unix.c') diff --git a/source/sys_unix.c b/source/sys_unix.c index afe3f09..8b4e96c 100644 --- a/source/sys_unix.c +++ b/source/sys_unix.c @@ -342,13 +342,13 @@ static void Sys_ParseInput( const char *text ) { #if 0 case 'C': if( f->text[f->cursorPos] ) { - FIFO_Write( &sys_output, "\033[C", 3 ); + Sys_ConsoleWrite( "\033[C", 3 ); f->cursorPos++; } break; case 'D': if( f->cursorPos ) { - FIFO_Write( &sys_output, "\033[D", 3 ); + Sys_ConsoleWrite( "\033[D", 3 ); f->cursorPos--; } break; -- cgit v1.2.3