summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-09-25 15:49:26 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-09-25 15:49:26 (GMT)
commitc439d91f811d91df590996cff2d3162c541bb1cf (patch)
tree2f4d529d110b2cb54bacc823795a38a5fa8bd137 /tools/lib/h5diff.c
parentafcf6b7608a2468a6d5b01bad23d427312cf45ae (diff)
downloadhdf5-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.c4
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;