From b66567f1f8d0a0bba3dfef7612b15514e43d34c7 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 30 May 2000 19:07:07 +0000 Subject: [PATCH] Minor fix to last commit --- libraries/libldap/request.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5