summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-02-12 17:13:24 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-02-12 17:13:24 (GMT)
commit2f8719efde2cb32cd84eaac18603464b3328c199 (patch)
tree3b79f51c43449c42acda943f3c56095db0efea0a /src
parent1074ccf4d935792506aa5acd8628f57be65d2091 (diff)
downloadhdf5-2f8719efde2cb32cd84eaac18603464b3328c199.zip
hdf5-2f8719efde2cb32cd84eaac18603464b3328c199.tar.gz
hdf5-2f8719efde2cb32cd84eaac18603464b3328c199.tar.bz2
[svn-r6399] Purpose:
Bug Fix Description: Pesky little thing: H5GOTO_ERROR was returning NULL instead of FAIL. Solution: Changed accordingly Platforms tested: Linux.
Diffstat (limited to 'src')
-rw-r--r--src/H5Distore.c2
-rw-r--r--src/H5Fistore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 352a1d5..4974e7c 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -2401,7 +2401,7 @@ H5F_istore_allocate(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
if(H5P_get(dx_plist,H5D_XFER_EDC_NAME,&edc)<0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get edc information");
if(H5P_get(dx_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");
#ifdef H5_HAVE_PARALLEL
/* Retrieve up MPI parameters */
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index 352a1d5..4974e7c 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -2401,7 +2401,7 @@ H5F_istore_allocate(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
if(H5P_get(dx_plist,H5D_XFER_EDC_NAME,&edc)<0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get edc information");
if(H5P_get(dx_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");
#ifdef H5_HAVE_PARALLEL
/* Retrieve up MPI parameters */