Use strcasecmp() not stricmp()
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7311 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
bb848f5582
commit
331b98f46e
|
@ -265,7 +265,7 @@ BOOL loadConfig(void)
|
|||
if (getWarzoneKeyString("masterserver_name", sBuf))
|
||||
{
|
||||
NETsetMasterserverName(sBuf);
|
||||
if (stricmp(sBuf, "lobby.wz2100.net") != 0)
|
||||
if (strcasecmp(sBuf, "lobby.wz2100.net") != 0)
|
||||
{
|
||||
debug(LOG_ERROR, "We are not using lobby.wz2100.net, for the master server name, we are using %s instead?", sBuf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue