git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@2566 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2006/12/20 10:10:30... | ... |
@@ -632,7 +632,6 @@ int cab_extract(struct cab_file *file, const char *name) |
632 | 632 |
cli_dbgmsg("CAB: Compression method: QUANTUM\n"); |
633 | 633 |
file->state->stream = (struct qtm_stream *) qtm_init(file->fd, file->ofd, (int) (file->folder->cmethod >> 8) & 0x1f, 4096, file, &cab_read); |
634 | 634 |
if(file->offset) { |
635 |
- file->wflag = 0; |
|
636 | 635 |
((struct qtm_stream *) file->state->stream)->wflag = 0; |
637 | 636 |
qtm_decompress(file->state->stream, file->offset); |
638 | 637 |
((struct qtm_stream *) file->state->stream)->wflag = 1; |