summaryrefslogtreecommitdiffstats
path: root/src/H5Ocopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ocopy.c')
-rw-r--r--src/H5Ocopy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c
index ebb1303..36d7485 100644
--- a/src/H5Ocopy.c
+++ b/src/H5Ocopy.c
@@ -699,6 +699,9 @@ H5O_copy_header_real(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,
HDassert(mesg_dst->type == mesg_src->type);
HDassert(mesg_dst->native);
+ /* the object header is needed in the post copy for shared message */
+ 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,
mesg_dst->native, dxpl_id, cpy_info) < 0)