diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-09-25 15:49:26 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-09-25 15:49:26 (GMT) |
commit | c439d91f811d91df590996cff2d3162c541bb1cf (patch) | |
tree | 2f4d529d110b2cb54bacc823795a38a5fa8bd137 /tools/lib/h5diff.c | |
parent | afcf6b7608a2468a6d5b01bad23d427312cf45ae (diff) | |
download | hdf5-c439d91f811d91df590996cff2d3162c541bb1cf.zip hdf5-c439d91f811d91df590996cff2d3162c541bb1cf.tar.gz hdf5-c439d91f811d91df590996cff2d3162c541bb1cf.tar.bz2 |
[svn-r12678] bug fix
the number of atribute differences was not added to the total sum of
differences
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r-- | tools/lib/h5diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 4fed814..c8d5e1f 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -982,7 +982,7 @@ hsize_t diff (hid_t file1_id, *------------------------------------------------------------------------- */ if (path1) - diff_attr (type1_id, type2_id, path1, path2, options); + nfound += diff_attr (type1_id, type2_id, path1, path2, options); if (H5Tclose (type1_id) < 0) goto out; @@ -1019,7 +1019,7 @@ hsize_t diff (hid_t file1_id, *------------------------------------------------------------------------- */ if (path1) - diff_attr (grp1_id, grp2_id, path1, path2, options); + nfound += diff_attr (grp1_id, grp2_id, path1, path2, options); if (H5Gclose (grp1_id) < 0) goto out; |