]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Jan 2008 03:50:09 +0000 (03:50 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Jan 2008 03:50:09 +0000 (03:50 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7933 d7cf8633-e32d-0410-b094-e92efae38249

netconn.c

index ab96c23f0eb49a27df8c4ecdfa528837bf29e1c0..7784d310827fed8bb9ffadb3c3ecf9e926bec2e7 100755 (executable)
--- 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)