From b047ba6f7eca71632452e7d5cdd2e439a7c997cb Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Thu, 15 Apr 2004 02:35:39 +0000 Subject: [PATCH] Fix warning --- servers/slapd/slapi/slapi_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/slapi/slapi_ops.c b/servers/slapd/slapi/slapi_ops.c index 415e80fb13..c001f0bbc3 100644 --- a/servers/slapd/slapi/slapi_ops.c +++ b/servers/slapd/slapi/slapi_ops.c @@ -392,7 +392,7 @@ slapi_int_ldapmod_to_entry( * being passed in may not have been allocated on the * heap. */ - rc = bvptr2obj_copy( pMod->mod_values, &bv ); + rc = bvptr2obj_copy( pMod->mod_bvalues, &bv ); if ( rc != LDAP_SUCCESS ) goto cleanup; tmp.sml_type.bv_val = pMod->mod_type; tmp.sml_type.bv_len = strlen( pMod->mod_type ); @@ -954,7 +954,7 @@ slapi_modify_internal( * convert an array of pointers to bervals * to an array of bervals */ - rs.sr_err = bvptr2obj_copy( pMod->mod_values, &bv ); + rs.sr_err = bvptr2obj_copy( pMod->mod_bvalues, &bv ); if ( rs.sr_err != LDAP_SUCCESS ) goto cleanup; tmp.sml_type.bv_val = pMod->mod_type; -- 2.39.5