Fix ITS#1991 - referrals with sarch base == target (wasn't sure at first,

but see diff -r1.6 -r1.7 and it's obvious.)
This commit is contained in:
Howard Chu 2002-08-29 08:43:23 +00:00
parent 20ef1d9fe4
commit 4d36fd5a3e

View File

@ -81,7 +81,7 @@ static char * referral_dn_muck(
return NULL;
}
if( dn_match( &nbaseDN, &nrefDN ) == 0 ) {
if( dn_match( &nbaseDN, &nrefDN ) ) {
ch_free( nrefDN.bv_val );
ch_free( nbaseDN.bv_val );
return ntargetDN.bv_val;