diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-04-23 19:12:58 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-04-23 19:12:58 (GMT) |
commit | 4a4c0bc3972cde177c0a6e2a191b1fa187846c08 (patch) | |
tree | 325fa8e0e8beea864695d7d2b7cd33b6f0abf203 /src/H5I.c | |
parent | 544a36e75e5766cc1e40bc7408cd795e7ce38bde (diff) | |
download | hdf5-4a4c0bc3972cde177c0a6e2a191b1fa187846c08.zip hdf5-4a4c0bc3972cde177c0a6e2a191b1fa187846c08.tar.gz hdf5-4a4c0bc3972cde177c0a6e2a191b1fa187846c08.tar.bz2 |
Fix issue with H5Iiterate always stopping with an error after the first iteration
Diffstat (limited to 'src/H5I.c')
-rw-r--r-- | src/H5I.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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() */ |