From: Howard Chu Date: Sun, 14 Aug 2005 23:08:20 +0000 (+0000) Subject: ITS#3931 fix dnRelativeMatch return values X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~705 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b15a72caecd6750ce76b8b6296dd481c6235de33;p=openldap ITS#3931 fix dnRelativeMatch return values --- diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index 24bc185ff5..a47d1c418f 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -996,7 +996,7 @@ dnRelativeMatch( asserted->bv_val, asserted->bv_len ); } else { - return 1; + match = 1; } } @@ -1022,7 +1022,7 @@ dnRelativeMatch( asserted->bv_val, asserted->bv_len ); } else { - return 1; + match = 1; } } @@ -1049,7 +1049,7 @@ dnRelativeMatch( match = dnIsOneLevelRDN( &rdn ) ? 0 : 1; } } else { - return 1; + match = 1; } }