]> wimlib.net Git - wimlib/blobdiff - src/win32_capture.c
Add new helper function for attaching newly scanned dentry tree
[wimlib] / src / win32_capture.c
index 854428e4dfd20266780858558bed72b608c9f465..450dfb5898cf0dbf34e765ff0733b3ec39ade226 100644 (file)
@@ -449,8 +449,7 @@ winnt_recurse_directory(HANDLE h,
 
                                if (ret)
                                        goto out_free_buf;
-                               if (child)
-                                       dentry_add_child(parent, child);
+                               attach_scanned_tree(parent, child, params->blob_table);
                        }
                        if (info->NextEntryOffset == 0)
                                break;