Converted a strncmp to a strncasecmp to avoid a compiler issue
authorArt Cancro <ajc@uncensored.citadel.org>
Thu, 10 Jan 2013 18:14:19 +0000 (13:14 -0500)
committerArt Cancro <ajc@uncensored.citadel.org>
Thu, 10 Jan 2013 18:14:19 +0000 (13:14 -0500)
webcit/roomops.c

index 22802ced20750a8ef1a793802eb4ba4f20dc41a3..2c4477657271e736e814749511d459a08decbfc3 100644 (file)
@@ -1142,7 +1142,7 @@ void netedit(void) {
 
                        if (malias_set_default)
                        {
-                               if (strncmp(ChrPtr(Line), HKEY("roommailalias|")) != 0)
+                               if (strncasecmp(ChrPtr(Line), HKEY("roommailalias|")) != 0)
                                {
                                        StrBufAppendBufPlain(Line, HKEY("\n"), 0);
                                        StrBufAppendBuf(TmpBuf, Line, 0);