mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
* gpgsplit.c (handle_bzip2): Remove two cut and paste typecast errors.
Noted by Stefan Bellon.
This commit is contained in:
parent
b3c4ee2d1f
commit
f77e485241
@ -1,3 +1,8 @@
|
||||
2003-12-28 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgsplit.c (handle_bzip2): Remove two cut and paste typecast
|
||||
errors. Noted by Stefan Bellon.
|
||||
|
||||
2003-12-02 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgsplit.c (write_part): Split off decompression code.
|
||||
|
@ -476,7 +476,7 @@ handle_bzip2(int algo,FILE *fpin,FILE *fpout)
|
||||
{
|
||||
n = bzs.avail_in;
|
||||
if (!n)
|
||||
bzs.next_in = (Bytef *) inbuf;
|
||||
bzs.next_in = inbuf;
|
||||
count = inbufsize - n;
|
||||
for (nread=0;
|
||||
nread < count && (c=getc (fpin)) != EOF;
|
||||
@ -491,7 +491,7 @@ handle_bzip2(int algo,FILE *fpin,FILE *fpout)
|
||||
}
|
||||
bzs.avail_in = n;
|
||||
}
|
||||
bzs.next_out = (Bytef *) outbuf;
|
||||
bzs.next_out = outbuf;
|
||||
bzs.avail_out = outbufsize;
|
||||
|
||||
if (!zinit_done)
|
||||
|
Loading…
x
Reference in New Issue
Block a user