]> git.sur5r.net Git - openldap/commitdiff
SLAP_NVALUES fix dup check
authorHoward Chu <hyc@openldap.org>
Fri, 4 Apr 2003 05:39:09 +0000 (05:39 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 4 Apr 2003 05:39:09 +0000 (05:39 +0000)
servers/slapd/add.c

index 5e87f2e4de3a3d64a6574b24ff4c329ae352212d..03c8fc000d2a05868296e66163776c4e26802d6b 100644 (file)
@@ -469,7 +469,7 @@ slap_mods2entry(
                                        /* test asserted values against themselves */
                                        for( j = 0; j < i; j++ ) {
                                                rc = value_match( &match, mods->sml_desc, mr,
-                                                       SLAP_MR_EQUALITY | SLAP_MR_VALUE_OF_ASSERTION_SYNTAX
+                                                       SLAP_MR_EQUALITY | SLAP_MR_VALUE_OF_ATTRIBUTE_SYNTAX
                                                        | SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH
                                                        | SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH,
                                                        &mods->sml_nvalues[i], &mods->sml_nvalues[j], text );