diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2000-03-23 05:42:52 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2000-03-23 05:42:52 (GMT) |
commit | ce99ea075cdd707ecacfd32513cb330a3b88bc65 (patch) | |
tree | aa2e9fa791fcbf1065423e85f68803ac968b6b43 | |
parent | 7ed43934d39b2bd5fd91b4c2fc343419f54ab7e9 (diff) | |
download | hdf5-ce99ea075cdd707ecacfd32513cb330a3b88bc65.zip hdf5-ce99ea075cdd707ecacfd32513cb330a3b88bc65.tar.gz hdf5-ce99ea075cdd707ecacfd32513cb330a3b88bc65.tar.bz2 |
[svn-r2048] H5I_dec_ref was return 1 instead of FAIL when it failed.
Fixed.
-rw-r--r-- | src/H5I.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -883,7 +883,7 @@ H5I_dec_ref(hid_t id) H5I_remove(id); ret_value = 0; } else { - ret_value = 1; + ret_value = FAIL; } } else { ret_value = --(id_ptr->count); |