diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-12 00:18:39 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-12 00:19:05 +0100 |
commit | f99022447deb5f6df6b401761897d1174a0f2319 (patch) | |
tree | 568ea7e87c91fe69ddae7df54d0de55518a1b1f0 /difftool | |
parent | 2e5007a75232ea008645cba448c7b2ce32a486cb (diff) |
Fix iteration over directory children in sqfsdiff
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool')
-rw-r--r-- | difftool/compare_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/difftool/compare_dir.c b/difftool/compare_dir.c index b206480..1a4c800 100644 --- a/difftool/compare_dir.c +++ b/difftool/compare_dir.c @@ -26,7 +26,7 @@ static int print_omitted(sqfsdiff_t *sd, bool is_old, sqfs_tree_node_t *n) free(path); - for (n = n->children; n->children != NULL; n = n->next) { + for (n = n->children; n != NULL; n = n->next) { if (print_omitted(sd, is_old, n)) return -1; } |