]> wimlib.net Git - wimlib/blobdiff - src/iterate_dir.c
inode.h, inode.c cleanup
[wimlib] / src / iterate_dir.c
index fb2c1b36507205631d657e0edfcc57af97072898..8e7f6cc3878d6c59c8229b20ee65c2dda795cc13 100644 (file)
@@ -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++;