diff options
Diffstat (limited to 'examples/fitblk.c')
-rw-r--r-- | examples/fitblk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fitblk.c b/examples/fitblk.c index c61de5c..68f5680 100644 --- a/examples/fitblk.c +++ b/examples/fitblk.c | |||
@@ -17,7 +17,7 @@ | |||
17 | data in order to determine how much of that input will compress to | 17 | data in order to determine how much of that input will compress to |
18 | nearly the requested output block size. The first pass generates | 18 | nearly the requested output block size. The first pass generates |
19 | enough deflate blocks to produce output to fill the requested | 19 | enough deflate blocks to produce output to fill the requested |
20 | output size plus a specfied excess amount (see the EXCESS define | 20 | output size plus a specified excess amount (see the EXCESS define |
21 | below). The last deflate block may go quite a bit past that, but | 21 | below). The last deflate block may go quite a bit past that, but |
22 | is discarded. The second pass decompresses and recompresses just | 22 | is discarded. The second pass decompresses and recompresses just |
23 | the compressed data that fit in the requested plus excess sized | 23 | the compressed data that fit in the requested plus excess sized |
@@ -109,7 +109,7 @@ local int recompress(z_streamp inf, z_streamp def) | |||
109 | if (ret == Z_MEM_ERROR) | 109 | if (ret == Z_MEM_ERROR) |
110 | return ret; | 110 | return ret; |
111 | 111 | ||
112 | /* compress what was decompresed until done or no room */ | 112 | /* compress what was decompressed until done or no room */ |
113 | def->avail_in = RAWLEN - inf->avail_out; | 113 | def->avail_in = RAWLEN - inf->avail_out; |
114 | def->next_in = raw; | 114 | def->next_in = raw; |
115 | if (inf->avail_out != 0) | 115 | if (inf->avail_out != 0) |