diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-10-15 19:41:08 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-10-15 19:41:08 (GMT) |
commit | dda41213de9a59d2522de5459299bc5c65fef8a9 (patch) | |
tree | 94df9bd8d8fe1fd9bbde8d311b6958fa7ef2840c | |
parent | a3dfc8e0c571373a8d96a9309b1579655c4e375a (diff) | |
download | hdf5-dda41213de9a59d2522de5459299bc5c65fef8a9.zip hdf5-dda41213de9a59d2522de5459299bc5c65fef8a9.tar.gz hdf5-dda41213de9a59d2522de5459299bc5c65fef8a9.tar.bz2 |
[svn-r4545]
Purpose:
Bug Fix
Description:
Function was returning NULL instead of FAIL
Solution:
Returned FAIL instead.
Platforms tested:
Linux
-rw-r--r-- | src/H5P.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7025,7 +7025,7 @@ H5P_copy_prop_plist(hid_t dst_id, hid_t src_id, const char *name) /* Call property creation callback, if it exists */ if(new_prop->create) { if((new_prop->create)(new_prop->name,new_prop->size,new_prop->value)<0) - HGOTO_ERROR (H5E_PLIST, H5E_CANTINIT, NULL,"Can't initialize property"); + HGOTO_ERROR (H5E_PLIST, H5E_CANTINIT, FAIL,"Can't initialize property"); } /* end if */ /* Insert property into property list class */ |