diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-27 23:01:48 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-27 23:01:48 (GMT) |
commit | 0726621eaa2c3423c8d8969fae314af54e902604 (patch) | |
tree | 550e6ebf64bf191fdc21633ee760759b9c2f9950 /src/H5Farray.c | |
parent | e7b7e14a88f37a6d348e62abf10765059383d645 (diff) | |
download | hdf5-0726621eaa2c3423c8d8969fae314af54e902604.zip hdf5-0726621eaa2c3423c8d8969fae314af54e902604.tar.gz hdf5-0726621eaa2c3423c8d8969fae314af54e902604.tar.bz2 |
[svn-r3005] Purpose:
Backward compatibility code
Description:
Add in code to allow the library to emulate the v1.2 API and behavior.
Platforms tested:
FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'src/H5Farray.c')
-rw-r--r-- | src/H5Farray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Farray.c b/src/H5Farray.c index 6faa42f..2c2a6c9 100644 --- a/src/H5Farray.c +++ b/src/H5Farray.c @@ -282,7 +282,7 @@ H5F_arr_read(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout, /* Get the dataset transfer property list */ if (H5P_DEFAULT == dxpl_id) { xfer_parms = &H5D_xfer_dflt; - } else if (H5P_DATA_XFER != H5P_get_class (dxpl_id) || + } else if (H5P_DATASET_XFER != H5P_get_class (dxpl_id) || NULL == (xfer_parms = H5I_object (dxpl_id))) { HRETURN_ERROR (H5E_ARGS, H5E_BADTYPE, FAIL, "not xfer parms"); } |