Name it after what it does: s/extract_to_stdout/extract_to_stream/
[oweals/opkg-lede.git] / libbb / unarchive.c
index 8f82a10..9517e46 100644 (file)
@@ -121,7 +121,7 @@ extract_archive(FILE *src_stream, FILE *out_stream,
        }
 
 
-       if (function & extract_to_stdout) {
+       if (function & extract_to_stream) {
                if (S_ISREG(file_entry->mode)) {
                        copy_file_chunk(src_stream, out_stream, file_entry->size);                      
                        archive_offset += file_entry->size;