From b15a72caecd6750ce76b8b6296dd481c6235de33 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 14 Aug 2005 23:08:20 +0000 Subject: [PATCH] ITS#3931 fix dnRelativeMatch return values --- servers/slapd/dn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } -- 2.39.5