diff options
Diffstat (limited to 'tools/h5repack/h5repack_verify.c')
-rw-r--r-- | tools/h5repack/h5repack_verify.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_verify.c b/tools/h5repack/h5repack_verify.c index 995aca1..d6bd2a3 100644 --- a/tools/h5repack/h5repack_verify.c +++ b/tools/h5repack/h5repack_verify.c @@ -243,8 +243,15 @@ int h5repack_verify(const char *fname, *------------------------------------------------------------------------- */ if(options->all_filter == 1) - if(has_filter(dcpl_id, options->filter_g.filtn) == 0) - ret = 0; + { + int k; + + for (k = 0; k < options->n_filter_g; k++ ) + { + if (has_filter(dcpl_id, options->filter_g[k].filtn) == 0) + ret = 0; + } + } /*------------------------------------------------------------------------- * layout check |