mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#4040 move initialization
This commit is contained in:
parent
5697278574
commit
86bd3651e1
@ -1066,7 +1066,7 @@ uniqueMemberMatch(
|
|||||||
struct berval *asserted = (struct berval *) assertedValue;
|
struct berval *asserted = (struct berval *) assertedValue;
|
||||||
struct berval assertedDN = *asserted;
|
struct berval assertedDN = *asserted;
|
||||||
struct berval assertedUID = BER_BVNULL;
|
struct berval assertedUID = BER_BVNULL;
|
||||||
struct berval valueDN = BER_BVNULL;
|
struct berval valueDN = *value;
|
||||||
struct berval valueUID = BER_BVNULL;
|
struct berval valueUID = BER_BVNULL;
|
||||||
int approx = ((flags & SLAP_MR_EQUALITY_APPROX) == SLAP_MR_EQUALITY_APPROX);
|
int approx = ((flags & SLAP_MR_EQUALITY_APPROX) == SLAP_MR_EQUALITY_APPROX);
|
||||||
|
|
||||||
@ -1086,7 +1086,6 @@ uniqueMemberMatch(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
valueDN = *value;
|
|
||||||
if ( !BER_BVISEMPTY( value ) ) {
|
if ( !BER_BVISEMPTY( value ) ) {
|
||||||
|
|
||||||
valueUID.bv_val = strrchr( valueDN.bv_val, '#' );
|
valueUID.bv_val = strrchr( valueDN.bv_val, '#' );
|
||||||
|
Loading…
Reference in New Issue
Block a user