From 6ee0ef8e429b41f50d310408babba4a217d097b7 Mon Sep 17 00:00:00 2001 From: hno <> Date: Mon, 16 Apr 2001 09:23:45 +0000 Subject: [PATCH] Minor cleanup to not mix keywords from different sources (same functionality, different writing) --- helpers/basic_auth/LDAP/squid_ldap_auth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.47.2