summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-08-21 20:41:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-08-21 20:41:12 (GMT)
commitc6e35f6abd381583d3686525b1cd4fdca9eaeded (patch)
tree895403fcae846f57487b387c9f9de90c3f25c6f2 /src/H5I.c
parentf8a796ebfc24c8f5f2c2c4f592234deb2b225c09 (diff)
downloadhdf5-c6e35f6abd381583d3686525b1cd4fdca9eaeded.zip
hdf5-c6e35f6abd381583d3686525b1cd4fdca9eaeded.tar.gz
hdf5-c6e35f6abd381583d3686525b1cd4fdca9eaeded.tar.bz2
[svn-r15512] Description:
Fix a few typos introduced in r15510. Tested on: Mac OS X/32 10.5.4 (amazon) More testing upcoming
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5I.c b/src/H5I.c
index ef52358..de43f8e 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -1283,7 +1283,7 @@ H5Idec_ref(hid_t id)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "invalid ID")
/* Do actual decrement operation */
- if((ret_value = H5I_dec_ref(id), TRUE) < 0)
+ if((ret_value = H5I_dec_ref(id, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTDEC, FAIL, "can't decrement ID ref count")
done:
@@ -1417,7 +1417,7 @@ H5Iinc_ref(hid_t id)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "invalid ID")
/* Do actual increment operation */
- if((ret_value = H5I_inc_ref(id), TRUE) < 0)
+ if((ret_value = H5I_inc_ref(id, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTINC, FAIL, "can't increment ID ref count")
done: