From 4d36fd5a3ed407b0a53004d1431f1669222138b4 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 29 Aug 2002 08:43:23 +0000 Subject: [PATCH] Fix ITS#1991 - referrals with sarch base == target (wasn't sure at first, but see diff -r1.6 -r1.7 and it's obvious.) --- servers/slapd/referral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/referral.c b/servers/slapd/referral.c index a836657fe1..c5c82c9a80 100644 --- a/servers/slapd/referral.c +++ b/servers/slapd/referral.c @@ -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; -- 2.39.5