summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-22 13:45:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-22 13:45:40 (GMT)
commit500b5f904f74c69511a5f0a89c98dd1b2006b758 (patch)
tree805a44cb8d79e9dc698229c68ffeeb102affee2c /tools
parent43ae12047122787c60f1129a5efcc2713873c127 (diff)
downloadhdf5-500b5f904f74c69511a5f0a89c98dd1b2006b758.zip
hdf5-500b5f904f74c69511a5f0a89c98dd1b2006b758.tar.gz
hdf5-500b5f904f74c69511a5f0a89c98dd1b2006b758.tar.bz2
[svn-r7389] Purpose:
Code cleanup Description: Return -1 for failed group iteration instead of 1 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'tools')
-rw-r--r--tools/h5diff/h5trav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5diff/h5trav.c b/tools/h5diff/h5trav.c
index ba51285..b804746 100644
--- a/tools/h5diff/h5trav.c
+++ b/tools/h5diff/h5trav.c
@@ -159,7 +159,7 @@ static herr_t opget_info( hid_t loc_id, const char *name, void *op_data)
H5G_stat_t statbuf;
if (H5Gget_objinfo( loc_id, name, FALSE, &statbuf) < 0 )
- return 1;
+ return -1;
((info_t *)op_data)->type = statbuf.type;
((info_t *)op_data)->name = (char *)HDstrdup(name);