From: Evan Prodromou Date: Mon, 15 Jun 2009 21:29:25 +0000 (-0700) Subject: strncmp -> strcasecmp X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6532f0dff63576c94debe521d1ff8d9f594fe422;p=quix0rs-gnu-social.git strncmp -> strcasecmp --- diff --git a/classes/Status_network.php b/classes/Status_network.php index 96b6d9a05b..bf05ad61e0 100644 --- a/classes/Status_network.php +++ b/classes/Status_network.php @@ -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);