From 331b98f46e50f8e0fd1c60c27c410cdcb3748c46 Mon Sep 17 00:00:00 2001 From: Buginator Date: Sun, 3 May 2009 20:32:58 +0000 Subject: [PATCH] Use strcasecmp() not stricmp() git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7311 4a71c877-e1ca-e34f-864e-861f7616d084 --- src/configuration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configuration.c b/src/configuration.c index f2f891061..bf4cac914 100644 --- a/src/configuration.c +++ b/src/configuration.c @@ -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); }