]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Minor cleanup to not mix keywords from different sources (same functionality,
authorhno <>
Mon, 16 Apr 2001 09:23:45 +0000 (09:23 +0000)
committerhno <>
Mon, 16 Apr 2001 09:23:45 +0000 (09:23 +0000)
different writing)

helpers/basic_auth/LDAP/squid_ldap_auth.c

index 869a95b12b88803c1336bb734aa5568fd33ee294..8a53003ce790ebc70d9455a6e3a1ca07b48e4bcd 100644 (file)
@@ -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);