From 86bd3651e1bc6129cf2bd4ba271f33207843aaff Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 25 Sep 2005 06:12:41 +0000 Subject: [PATCH] ITS#4040 move initialization --- servers/slapd/schema_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index b7cd3ba263..789c7f001a 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1066,7 +1066,7 @@ uniqueMemberMatch( struct berval *asserted = (struct berval *) assertedValue; struct berval assertedDN = *asserted; struct berval assertedUID = BER_BVNULL; - struct berval valueDN = BER_BVNULL; + struct berval valueDN = *value; struct berval valueUID = BER_BVNULL; int approx = ((flags & SLAP_MR_EQUALITY_APPROX) == SLAP_MR_EQUALITY_APPROX); @@ -1086,7 +1086,6 @@ uniqueMemberMatch( } } - valueDN = *value; if ( !BER_BVISEMPTY( value ) ) { valueUID.bv_val = strrchr( valueDN.bv_val, '#' ); -- 2.39.5