]> git.sur5r.net Git - openldap/commitdiff
missing numvals (ITS#5481)
authorPierangelo Masarati <ando@openldap.org>
Mon, 21 Apr 2008 16:43:50 +0000 (16:43 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 21 Apr 2008 16:43:50 +0000 (16:43 +0000)
servers/slapd/back-meta/search.c

index 848b6e12ae2ac2d88c082e3685b46028fd004d89..ea5a52bcb6c37d44a23d8d45d1b78a746215a9f6 100644 (file)
@@ -2041,6 +2041,7 @@ next_attr:;
                                        mod.sm_op = LDAP_MOD_ADD;
                                        mod.sm_desc = (*ap)->a_desc;
                                        mod.sm_type = mod.sm_desc->ad_cname;
+                                       mod.sm_numvals = (*ap)->a_numvals;
                                        mod.sm_values = (*tap)->a_vals;
                                        if ( (*tap)->a_nvals != (*tap)->a_vals ) {
                                                mod.sm_nvalues = (*tap)->a_nvals;