]> git.sur5r.net Git - openldap/commitdiff
(SLAP_NVALUES) attr->a_nvals must not be NULL, set equal to a_vals when
authorHoward Chu <hyc@openldap.org>
Mon, 7 Apr 2003 11:38:45 +0000 (11:38 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 7 Apr 2003 11:38:45 +0000 (11:38 +0000)
not normalizing.

servers/slapd/back-ldap/search.c

index cc4fbe2277ebf1d326f8bb3b0619dad6da8f8852..d50f82ed80277e34f24dc265f206fb8665119d3b 100644 (file)
@@ -552,7 +552,7 @@ next_attr:;
                                attr->a_nvals = attr->a_vals;
                        }
                } else {
-                       attr->a_nvals = NULL;
+                       attr->a_nvals = attr->a_vals;
                }
                *attrp = attr;
                attrp = &attr->a_next;