From e6eff03373d3913eb58b83fab04a8923090e4c44 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 27 Feb 2009 01:58:09 +0000 Subject: [PATCH] ITS#5977 fix typo --- servers/slapd/back-ldap/search.c | 2 +- servers/slapd/back-meta/search.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 1bb236db2b..eb2fee1f58 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -837,7 +837,7 @@ ldap_build_entry( } BER_BVZERO(&attr->a_vals[attr->a_numvals]); if ( attr->a_nvals != attr->a_vals ) - BER_BVZERO(&attr->a_vals[attr->a_numvals]); + BER_BVZERO(&attr->a_nvals[attr->a_numvals]); } attr->a_flags |= SLAP_ATTR_SORTED_VALS; } diff --git a/servers/slapd/back-meta/search.c b/servers/slapd/back-meta/search.c index b0de33851d..171221421d 100644 --- a/servers/slapd/back-meta/search.c +++ b/servers/slapd/back-meta/search.c @@ -2183,7 +2183,7 @@ next_attr:; } BER_BVZERO(&attr->a_vals[attr->a_numvals]); if ( attr->a_nvals != attr->a_vals ) - BER_BVZERO(&attr->a_vals[attr->a_numvals]); + BER_BVZERO(&attr->a_nvals[attr->a_numvals]); } attr->a_flags |= SLAP_ATTR_SORTED_VALS; } -- 2.39.5