strncasecmp() -> strcasecmp()

pull/5480/merge
Aleksander Machniak 8 years ago
parent ffdd7cedb6
commit 336a0cd87b

@ -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 {

Loading…
Cancel
Save