summaryrefslogtreecommitdiffstats
path: root/libarchive/archive_read_support_format_raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_read_support_format_raw.c')
-rw-r--r--libarchive/archive_read_support_format_raw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libarchive/archive_read_support_format_raw.c b/libarchive/archive_read_support_format_raw.c
index efa2c6a..ec0520b 100644
--- a/libarchive/archive_read_support_format_raw.c
+++ b/libarchive/archive_read_support_format_raw.c
@@ -120,7 +120,9 @@ archive_read_format_raw_read_header(struct archive_read *a,
archive_entry_set_filetype(entry, AE_IFREG);
archive_entry_set_perm(entry, 0644);
/* I'm deliberately leaving most fields unset here. */
- return (ARCHIVE_OK);
+
+ /* Let the filter fill out any fields it might have. */
+ return __archive_read_header(a, entry);
}
static int