summaryrefslogtreecommitdiff
path: root/archival/libunarchive/get_header_tar_bz2.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-08 13:05:39 +0000
committerDenis Vlasenko2007-06-08 13:05:39 +0000
commitc14d39e83a7f55ab9b92e98673a281fd6565c32d (patch)
treef1cfe7f071b228cf7f1a732046cabf18fa9421b8 /archival/libunarchive/get_header_tar_bz2.c
parentdef8260219797b0f9f734915f4918f34e85e7049 (diff)
downloadbusybox-c14d39e83a7f55ab9b92e98673a281fd6565c32d.zip
busybox-c14d39e83a7f55ab9b92e98673a281fd6565c32d.tar.gz
rmp: add optional support for bz2 data. +50 bytes of code
Diffstat (limited to 'archival/libunarchive/get_header_tar_bz2.c')
-rw-r--r--archival/libunarchive/get_header_tar_bz2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_tar_bz2.c b/archival/libunarchive/get_header_tar_bz2.c
index d8715c0..e11f44c 100644
--- a/archival/libunarchive/get_header_tar_bz2.c
+++ b/archival/libunarchive/get_header_tar_bz2.c
@@ -11,7 +11,7 @@ char get_header_tar_bz2(archive_handle_t *archive_handle)
/* Can't lseek over pipes */
archive_handle->seek = seek_by_read;
- archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompressStream);
+ archive_handle->src_fd = open_transformer(archive_handle->src_fd, unpack_bz2_stream);
archive_handle->offset = 0;
while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;