diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-02-12 14:36:32 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-02-12 14:36:32 (GMT) |
commit | 07c40148c1a221d49da879eab9ca5a3e30bb9cef (patch) | |
tree | 7f73a29c5fce41e95bc4a4f5ac034b89b565a85a /src/H5Distore.c | |
parent | 7d63d5e3ff5d8de37ac28106730255cb4a6739e2 (diff) | |
download | hdf5-07c40148c1a221d49da879eab9ca5a3e30bb9cef.zip hdf5-07c40148c1a221d49da879eab9ca5a3e30bb9cef.tar.gz hdf5-07c40148c1a221d49da879eab9ca5a3e30bb9cef.tar.bz2 |
[svn-r6396] Purpose:
Bug Fix
Description:
Some of the error conditions in the H5GOTO_ERROR macros were NULL
instead of FAIL.
Solution:
Changed accordingly.
Platforms tested:
Linux
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r-- | src/H5Distore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c index ec233bf..7a2efa1 100644 --- a/src/H5Distore.c +++ b/src/H5Distore.c @@ -956,9 +956,9 @@ H5F_istore_flush_entry(H5F_t *f, hid_t dxpl_id, H5F_rdcc_ent_t *ent, hbool_t res if (NULL == (plist = H5P_object_verify(dxpl_id,H5P_DATASET_XFER))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataset transfer property list"); if(H5P_get(plist,H5D_XFER_EDC_NAME,&edc)<0) - HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, NULL, "can't get edc information"); + HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get edc information"); if(H5P_get(plist,H5D_XFER_FILTER_CB_NAME,&cb_struct)<0) - HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, NULL, "can't get filter callback struct"); + HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get filter callback struct"); if (H5Z_pipeline(f, ent->pline, 0, &(udata.key.filter_mask), edc, cb_struct, &(udata.key.nbytes), &alloc, &buf)<0) { HGOTO_ERROR(H5E_PLINE, H5E_WRITEERROR, FAIL, |