summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-22 13:45:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-22 13:45:45 (GMT)
commitbbb546d4de40a2c821be9cf5d699ab9ed7c9d0e2 (patch)
tree6cb8ac30383a1440eff48d8bb5866a2759e5c892 /tools/h5diff
parent7646297a822b7304b8b846650e243635553a7b38 (diff)
downloadhdf5-bbb546d4de40a2c821be9cf5d699ab9ed7c9d0e2.zip
hdf5-bbb546d4de40a2c821be9cf5d699ab9ed7c9d0e2.tar.gz
hdf5-bbb546d4de40a2c821be9cf5d699ab9ed7c9d0e2.tar.bz2
[svn-r7390] Purpose:
Code cleanup Description: Return -1 for failed group iteration instead of 1 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'tools/h5diff')
-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 29171f9..a7c5652 100644
--- a/tools/h5diff/h5trav.c
+++ b/tools/h5diff/h5trav.c
@@ -163,7 +163,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);