X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fiterate_dir.c;h=8e7f6cc3878d6c59c8229b20ee65c2dda795cc13;hb=5d0a1b64a5a01c130da183c39350a4384cd114cd;hp=fb2c1b36507205631d657e0edfcc57af97072898;hpb=3071e89c11d1be71cf45b694432e5908e0c4ded9;p=wimlib diff --git a/src/iterate_dir.c b/src/iterate_dir.c index fb2c1b36..8e7f6cc3 100644 --- a/src/iterate_dir.c +++ b/src/iterate_dir.c @@ -99,7 +99,7 @@ init_wimlib_dentry(struct wimlib_dir_entry *wdentry, struct wim_dentry *dentry, } for (unsigned i = 0; i < inode->i_num_ads; i++) { - if (!ads_entry_is_named_stream(&inode->i_ads_entries[i])) + if (!inode->i_ads_entries[i].stream_name_nbytes) continue; lte = inode_stream_lte(inode, i + 1, wim->lookup_table); wdentry->num_named_streams++;