From 2f8719efde2cb32cd84eaac18603464b3328c199 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 12 Feb 2003 12:13:24 -0500 Subject: [svn-r6399] Purpose: Bug Fix Description: Pesky little thing: H5GOTO_ERROR was returning NULL instead of FAIL. Solution: Changed accordingly Platforms tested: Linux. --- src/H5Distore.c | 2 +- src/H5Fistore.c | 2 +- 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 */ -- cgit v0.12