]> git.sur5r.net Git - openldap/commitdiff
ITS#4955 fix from HEAD, referral chasing loop
authorHoward Chu <hyc@openldap.org>
Fri, 8 Jun 2007 09:17:24 +0000 (09:17 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 8 Jun 2007 09:17:24 +0000 (09:17 +0000)
libraries/libldap/request.c

index 70145a812ba28abb107db50aeda01d3853aadda1..07f10ae50167f0d4828bfcce30b07cf0b8b1f18c 100644 (file)
@@ -925,7 +925,7 @@ ldap_chase_v3referrals( LDAP *ld, LDAPRequest *lr, char **refs, int sref, char *
                                if ( lp == origreq ) {
                                        lp = lp->lr_child;
                                } else {
-                                       lp = lr->lr_refnext;
+                                       lp = lp->lr_refnext;
                                }
                        }
                        if ( looped ) {