diff options
-rw-r--r-- | archival/libunarchive/filter_accept_list_reassign.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/archival/libunarchive/filter_accept_list_reassign.c b/archival/libunarchive/filter_accept_list_reassign.c index d9bee79d7..f34a23c33 100644 --- a/archival/libunarchive/filter_accept_list_reassign.c +++ b/archival/libunarchive/filter_accept_list_reassign.c | |||
@@ -47,9 +47,8 @@ extern char filter_accept_list_reassign(archive_handle_t *archive_handle) | |||
47 | #endif | 47 | #endif |
48 | #ifdef CONFIG_FEATURE_DEB_TAR_BZ2 | 48 | #ifdef CONFIG_FEATURE_DEB_TAR_BZ2 |
49 | if (strcmp(name_ptr, ".bz2") == 0) { | 49 | if (strcmp(name_ptr, ".bz2") == 0) { |
50 | archive_handle->sub_archive->read = read_bz2; | 50 | archive_handle->sub_archive->read = read; |
51 | BZ2_bzReadOpen(archive_handle->src_fd, NULL, 0); | 51 | archive_handle->action_data_subarchive = get_header_tar_bz2; |
52 | archive_handle->action_data_subarchive = get_header_tar; | ||
53 | return(EXIT_SUCCESS); | 52 | return(EXIT_SUCCESS); |
54 | } | 53 | } |
55 | #endif | 54 | #endif |