summaryrefslogtreecommitdiffstats
path: root/src/H5Ocopy.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-03-13 04:19:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-03-13 04:19:46 (GMT)
commitc17a5d1278a43efc8b62c718f5897e4ec1ed82e9 (patch)
treeecbb6277dc6e40f442eac1ded3d0e02fd92fef92 /src/H5Ocopy.c
parent57295db6c750b6c8d148652b826d3a006f38e6aa (diff)
downloadhdf5-c17a5d1278a43efc8b62c718f5897e4ec1ed82e9.zip
hdf5-c17a5d1278a43efc8b62c718f5897e4ec1ed82e9.tar.gz
hdf5-c17a5d1278a43efc8b62c718f5897e4ec1ed82e9.tar.bz2
[svn-r22058] Description:
Better fix for zero-sized dataset error (r22053). Tested on: Mac OSX/64 10.7.3 (amazon) w/debug & parallel
Diffstat (limited to 'src/H5Ocopy.c')
-rw-r--r--src/H5Ocopy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c
index 337287d..dd649ff 100644
--- a/src/H5Ocopy.c
+++ b/src/H5Ocopy.c
@@ -974,8 +974,7 @@ H5O_copy_header(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,
HGOTO_ERROR(H5E_SLIST, H5E_CANTCREATE, FAIL, "cannot make skip list")
/* copy the object from the source file to the destination file */
- if(H5O_copy_header_real(oloc_src, oloc_dst, dxpl_id, &cpy_info, NULL, NULL)
- < 0)
+ if(H5O_copy_header_real(oloc_src, oloc_dst, dxpl_id, &cpy_info, NULL, NULL) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTCOPY, FAIL, "unable to copy object")
done: