From: Friendika Date: Sun, 21 Aug 2011 00:50:39 +0000 (-0700) Subject: stricmp does not exist - strcasecmp does X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c6a05443f7baa92f3e1716d0229fbb3f1f9aa556;p=friendica.git stricmp does not exist - strcasecmp does --- diff --git a/include/diaspora.php b/include/diaspora.php index 308e5777b1..e943ea0860 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -493,7 +493,7 @@ function diaspora_comment($importer,$xml,$msg) { $author_signature = base64_decode($author_signature); - if(stricmp($diaspora_handle,$msg['author']) == 0) { + if(strcasecmp($diaspora_handle,$msg['author']) == 0) { $person = $contact; $key = $msg['key']; } @@ -662,7 +662,7 @@ function diaspora_like($importer,$xml,$msg) { $author_signature = base64_decode($author_signature); - if(stricmp($diaspora_handle,$msg['author']) == 0) { + if(strcasecmp($diaspora_handle,$msg['author']) == 0) { $person = $contact; $key = $msg['key']; }