]> git.sur5r.net Git - openldap/commitdiff
Minor fix to last commit
authorKurt Zeilenga <kurt@openldap.org>
Tue, 30 May 2000 19:07:07 +0000 (19:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 30 May 2000 19:07:07 +0000 (19:07 +0000)
libraries/libldap/request.c

index 488317d7fde7fdc518cb85b9e9608b09aee46fa2..12d807416d21ae25178bc1aeb7f96c24607273ca 100644 (file)
@@ -659,6 +659,7 @@ ldap_chase_referrals( LDAP *ld, LDAPRequest *lr, char **errstrp, int *hadrefp )
                        *refdn++ = '\0';
                        newdn = refdn[0] != '?' && refdn[0] != '\0';
 
+                       if( !newdn ) refdn = NULL;
                } else {
                        newdn = 0;
                }