summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-12 15:44:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-12 15:44:05 (GMT)
commit0d402a1310d15cc4d17a8199adcbc3881a2fefaf (patch)
treed54d9a455f645d902cfc337cbec8a28da154b281 /src/H5B.c
parent913abd0bf093ed55c044759f9664b81e1791365a (diff)
downloadhdf5-0d402a1310d15cc4d17a8199adcbc3881a2fefaf.zip
hdf5-0d402a1310d15cc4d17a8199adcbc3881a2fefaf.tar.gz
hdf5-0d402a1310d15cc4d17a8199adcbc3881a2fefaf.tar.bz2
[svn-r2117] Fixed error which manifested in H5Giterate, causing groups with more than one
level of B-tree nodes and callback functions which returned non-zero to not work correctly.
Diffstat (limited to 'src/H5B.c')
-rw-r--r--src/H5B.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B.c b/src/H5B.c
index acb3079..e539907 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -1564,7 +1564,7 @@ H5B_iterate (H5F_t *f, const H5B_class_t *type, haddr_t addr, void *udata)
"memory allocation failed");
}
for (cur_addr=addr, ret_value=0;
- H5F_addr_defined(cur_addr);
+ H5F_addr_defined(cur_addr) && !ret_value;
cur_addr=next_addr) {
/*