From: havoc Date: Tue, 8 Jan 2008 03:50:09 +0000 (+0000) Subject: fix warning X-Git-Tag: xonotic-v0.1.0preview~2573 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=2613d43dcaa39bff1507d9bc937f75334e941831 fix warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7933 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/netconn.c b/netconn.c index ab96c23f..7784d310 100755 --- a/netconn.c +++ b/netconn.c @@ -1973,7 +1973,7 @@ qboolean RCon_Authenticate(const char *password, const char *s, const char *endp return false; for(text = s; text != endpos; ++text) - if(*text > 0 && *text < ' ' || *text == ';') + if(*text > 0 && (*text < ' ' || *text == ';')) return false; // block possible exploits against the parser/alias expansion while(s != endpos)