summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-03-23 05:42:52 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-03-23 05:42:52 (GMT)
commitce99ea075cdd707ecacfd32513cb330a3b88bc65 (patch)
treeaa2e9fa791fcbf1065423e85f68803ac968b6b43 /src
parent7ed43934d39b2bd5fd91b4c2fc343419f54ab7e9 (diff)
downloadhdf5-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.
Diffstat (limited to 'src')
-rw-r--r--src/H5I.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 126cb3d..bf80dce 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -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);