From: hno <> Date: Mon, 16 Apr 2001 09:23:45 +0000 (+0000) Subject: Minor cleanup to not mix keywords from different sources (same functionality, X-Git-Tag: SQUID_3_0_PRE1~1538 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ee0ef8e429b41f50d310408babba4a217d097b7;p=thirdparty%2Fsquid.git Minor cleanup to not mix keywords from different sources (same functionality, different writing) --- diff --git a/helpers/basic_auth/LDAP/squid_ldap_auth.c b/helpers/basic_auth/LDAP/squid_ldap_auth.c index 869a95b12b..8a53003ce7 100644 --- a/helpers/basic_auth/LDAP/squid_ldap_auth.c +++ b/helpers/basic_auth/LDAP/squid_ldap_auth.c @@ -147,8 +147,7 @@ recover: exit(1); } } - rc = checkLDAP(ld, user, passwd); - if (rc != LDAP_SUCCESS) { + if (checkLDAP(ld, user, passwd) != 0) { if (tryagain && ld->ld_errno != LDAP_INVALID_CREDENTIALS) { tryagain = 0; ldap_unbind(ld);