summaryrefslogtreecommitdiffstats
path: root/system/libraries/Xmlrpcs.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-14 14:10:56 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-14 14:10:56 +0200
commit3dad2e714189b992248261c78d780b322b3c73da (patch)
tree59d13c94d06ea3183c33f384100f61e73f540c87 /system/libraries/Xmlrpcs.php
parent19c83f6ec6dd29b2ecbeba87801d275f4e247678 (diff)
Replace strncmp() usage with strpos()
Diffstat (limited to 'system/libraries/Xmlrpcs.php')
-rw-r--r--system/libraries/Xmlrpcs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Xmlrpcs.php b/system/libraries/Xmlrpcs.php
index be930b0f9..e81f2ca9a 100644
--- a/system/libraries/Xmlrpcs.php
+++ b/system/libraries/Xmlrpcs.php
@@ -303,7 +303,7 @@ class CI_Xmlrpcs extends CI_Xmlrpc
$methName = $m->method_name;
// Check to see if it is a system call
- $system_call = (strncmp($methName, 'system', 5) === 0);
+ $system_call = (strpos($methName, 'system') === 0);
if ($this->xss_clean === FALSE)
{