From: Kurt Zeilenga Date: Tue, 30 May 2000 19:07:07 +0000 (+0000) Subject: Minor fix to last commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2799 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b66567f1f8d0a0bba3dfef7612b15514e43d34c7;p=openldap Minor fix to last commit --- diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 488317d7fd..12d807416d 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -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; }