]> granicus.if.org Git - apache/commitdiff
Axe some dead code.
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 24 May 2018 20:59:44 +0000 (20:59 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 24 May 2018 20:59:44 +0000 (20:59 +0000)
See PR 60086.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832202 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index 66843f4cbab953c3412ed91a1371e279d98b1d14..7b3801b16fd161e9fc9bd84c2bf45a16a2125519 100644 (file)
@@ -411,7 +411,7 @@ static int uldap_connection_init(request_rec *r,
     }
 
     if (ldc->ChaseReferrals == AP_LDAP_CHASEREFERRALS_ON) {
-        if ((ldc->ReferralHopLimit != AP_LDAP_HOPLIMIT_UNSET) && ldc->ChaseReferrals == AP_LDAP_CHASEREFERRALS_ON) {
+        if (ldc->ReferralHopLimit != AP_LDAP_HOPLIMIT_UNSET)  {
             /* Referral hop limit - only if referrals are enabled and a hop limit is explicitly requested */
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, APLOGNO(01280)
                     "Setting referral hop limit to %d.",