ITS#5977 fix typo

This commit is contained in:
Howard Chu 2009-02-27 01:58:09 +00:00
parent 7fe91339df
commit e6eff03373
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}