summaryrefslogtreecommitdiff
path: root/archival/libunarchive/get_header_tar_gz.c
diff options
context:
space:
mode:
authorGlenn L McGrath2002-11-13 00:24:20 +0000
committerGlenn L McGrath2002-11-13 00:24:20 +0000
commite356883ffb0c7300aa0312864ddf203a6d322d94 (patch)
treee5ef4635958a251b3a751437841471ba85c44665 /archival/libunarchive/get_header_tar_gz.c
parent034c371bb2ea7d66caf3ac29178ce941837edb9f (diff)
downloadbusybox-e356883ffb0c7300aa0312864ddf203a6d322d94.zip
busybox-e356883ffb0c7300aa0312864ddf203a6d322d94.tar.gz
Minor cleanups
Diffstat (limited to 'archival/libunarchive/get_header_tar_gz.c')
-rw-r--r--archival/libunarchive/get_header_tar_gz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_tar_gz.c b/archival/libunarchive/get_header_tar_gz.c
index f0d4b13..f77b775 100644
--- a/archival/libunarchive/get_header_tar_gz.c
+++ b/archival/libunarchive/get_header_tar_gz.c
@@ -28,8 +28,9 @@ extern char get_header_tar_gz(archive_handle_t *archive_handle)
int fd_pipe[2];
int pid;
unsigned char magic[2];
-
+
/* Cant lseek over pipe's */
+ archive_handle->read = read;
archive_handle->seek = seek_by_char;
archive_xread_all(archive_handle, &magic, 2);