]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
strncmp -> strcasecmp
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 21:29:25 +0000 (14:29 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 21:29:25 +0000 (14:29 -0700)
classes/Status_network.php

index 96b6d9a05bb98e00a835a34ddd545b4693325bfb..bf05ad61e00150c9e79d32592fd3473e1672f2cc 100644 (file)
@@ -50,7 +50,7 @@ class Status_network extends DB_DataObject
 
         if (0 == strncasecmp(strrev($wildcard), strrev($servername), strlen($wildcard))) {
             // special case for exact match
-            if (0 == strncmp($servername, $wildcard)) {
+            if (0 == strcasecmp($servername, $wildcard)) {
                 $sn = Status_network::staticGet('nickname', '');
             } else {
                 $parts = explode('.', $servername);