From 2613d43dcaa39bff1507d9bc937f75334e941831 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 8 Jan 2008 03:50:09 +0000 Subject: [PATCH] fix warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7933 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2