diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-03-24 20:58:48 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-03-24 20:58:48 +0000 |
commit | b187be310e6f5c8a535864558827e16140ede6b1 (patch) | |
tree | 329df938c4f216e25ff12c34d11b8ed1341d7f86 /source/sys_unix.c | |
parent | c06168ccfc069a1b8361809bef6734a0b2ee8107 (diff) |
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.
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r-- | source/sys_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |