summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2019-04-24 01:10:37 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2019-04-24 01:10:37 (GMT)
commit1adec082f2f380b649dfb1c0e6386be2c44adb68 (patch)
tree325fa8e0e8beea864695d7d2b7cd33b6f0abf203
parent544a36e75e5766cc1e40bc7408cd795e7ce38bde (diff)
parent4a4c0bc3972cde177c0a6e2a191b1fa187846c08 (diff)
downloadhdf5-1adec082f2f380b649dfb1c0e6386be2c44adb68.zip
hdf5-1adec082f2f380b649dfb1c0e6386be2c44adb68.tar.gz
hdf5-1adec082f2f380b649dfb1c0e6386be2c44adb68.tar.bz2
Merge pull request #1670 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
* commit '4a4c0bc3972cde177c0a6e2a191b1fa187846c08': Fix issue with H5Iiterate always stopping with an error after the first iteration
-rw-r--r--src/H5I.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 2edea9b..93c9e98 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -1943,6 +1943,8 @@ H5I__iterate_pub_cb(void H5_ATTR_UNUSED *obj, hid_t id, void *_udata)
ret_value = H5_ITER_STOP; /* terminate iteration early */
else if(cb_ret_val < 0)
ret_value = H5_ITER_ERROR; /* indicate failure (which terminates iteration) */
+ else
+ ret_value = H5_ITER_CONT; /* continue iteration */
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5I__iterate_pub_cb() */