]> git.sur5r.net Git - openldap/commitdiff
Fix normalized mods in slap_entry2mods (ITS#3144, ITS#3152)
authorHoward Chu <hyc@openldap.org>
Wed, 19 May 2004 23:20:04 +0000 (23:20 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 19 May 2004 23:20:04 +0000 (23:20 +0000)
servers/slapd/add.c

index 078bd73075540fe4df27eb98ea5767937cc38c69..da0ae87789e1e80a7f817bfd2196231236fed38e 100644 (file)
@@ -625,7 +625,7 @@ slap_entry2mods(
                for ( i = 0; i < count; i++ ) {
                        ber_dupbv(mod->sml_values+i, a_new->a_vals+i); 
                        if ( mod->sml_nvalues ) {
-                               ber_dupbv( mod->sml_nvalues+i, a_new->a_vals+i ); 
+                               ber_dupbv( mod->sml_nvalues+i, a_new->a_nvals+i ); 
                        } 
                }