diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-10-08 00:17:11 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-10-08 00:17:11 (GMT) |
commit | be6691b33d0402dbaef53256382b45ab02d7fba8 (patch) | |
tree | 7ea49525f534cf7c3328db8ce82bb55a83074432 /src/H5Pdxpl.c | |
parent | de76999134dffc8700b88115c4bde5fe75acfc60 (diff) | |
download | hdf5-be6691b33d0402dbaef53256382b45ab02d7fba8.zip hdf5-be6691b33d0402dbaef53256382b45ab02d7fba8.tar.gz hdf5-be6691b33d0402dbaef53256382b45ab02d7fba8.tar.bz2 |
[svn-r17610] Bug fix (ID 1628):
There was a typo in the H5Pget_preserve that it was returning the wrong value.
Fixed. Also added a test in test/cmpd_dset.c to verify the correctness of
H5Pset_preserve and H5Pget_preserve.
Tested:
h5committest plus jam serial.
Diffstat (limited to 'src/H5Pdxpl.c')
-rw-r--r-- | src/H5Pdxpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pdxpl.c b/src/H5Pdxpl.c index efbdfe7..aab8b57 100644 --- a/src/H5Pdxpl.c +++ b/src/H5Pdxpl.c @@ -839,7 +839,7 @@ H5Pget_preserve(hid_t plist_id) HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID") /* Get value */ - if (H5P_get(plist,H5D_XFER_BKGR_BUF_NAME,&need_bkg)<0) + if (H5P_get(plist,H5D_XFER_BKGR_BUF_TYPE_NAME,&need_bkg)<0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "unable to get value") /* Set return value */ |