From 336a0cd87bab655e45f09f7eb252ac53cc95c052 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 19 May 2017 14:41:25 +0200 Subject: [PATCH] strncasecmp() -> strcasecmp() --- program/lib/Roundcube/rcube_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/Roundcube/rcube_ldap.php b/program/lib/Roundcube/rcube_ldap.php index d34026632..e158b5e2b 100644 --- a/program/lib/Roundcube/rcube_ldap.php +++ b/program/lib/Roundcube/rcube_ldap.php @@ -421,7 +421,7 @@ class rcube_ldap extends rcube_addressbook } } - if (empty($bind_pass) && strncasecmp($auth_method, 'GSSAPI', 6) != 0) { + if (empty($bind_pass) && strcasecmp($auth_method, 'GSSAPI') != 0) { $this->ready = true; } else {