]> git.sur5r.net Git - openldap/commitdiff
ITS#3931 fix dnRelativeMatch return values
authorHoward Chu <hyc@openldap.org>
Sun, 14 Aug 2005 23:08:20 +0000 (23:08 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 14 Aug 2005 23:08:20 +0000 (23:08 +0000)
servers/slapd/dn.c

index 24bc185ff5376d1ab4aab97ddf3ff12948740920..a47d1c418f25e8432cd8a82d8f89913f1d5b29c1 100644 (file)
@@ -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;
                        }
                }