summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Status_network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Status_network.php b/classes/Status_network.php
index 8726096e3..dbd722e88 100644
--- a/classes/Status_network.php
+++ b/classes/Status_network.php
@@ -135,7 +135,7 @@ class Status_network extends DB_DataObject
if (empty($sn)) {
// Try for a no-www address
- if (strncasecmp($servername, 'www.', 4)) {
+ if (0 == strncasecmp($servername, 'www.', 4)) {
$sn = self::memGet('hostname', strtolower(substr($servername, 4)));
}
}