summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-07-24 19:05:01 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-07-24 19:05:01 (GMT)
commitb8ef032be6b1273d7730eb3d6511413716700528 (patch)
tree7ffb30200d15bd069d88b08a6b0895e03db9f17e
parentbec21e59ef9e418fd2611bfa182e1b1b557e44e4 (diff)
downloadhdf5-b8ef032be6b1273d7730eb3d6511413716700528.zip
hdf5-b8ef032be6b1273d7730eb3d6511413716700528.tar.gz
hdf5-b8ef032be6b1273d7730eb3d6511413716700528.tar.bz2
[svn-r14002] Description:
Fix bug where pointer to variable was used instead of variable itself. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Mac OS X/32 10.4.10 (amazon)
-rw-r--r--src/H5Ocopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c
index 36d7485..4c6092d 100644
--- a/src/H5Ocopy.c
+++ b/src/H5Ocopy.c
@@ -700,7 +700,7 @@ H5O_copy_header_real(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,
HDassert(mesg_dst->native);
/* the object header is needed in the post copy for shared message */
- cpy_info->oh_dst = &oh_dst;
+ cpy_info->oh_dst = oh_dst;
/* Perform "post copy" operation on message */
if((copy_type->post_copy_file)(oloc_src, mesg_src->native, oloc_dst,