|
|
@ -1671,10 +1671,10 @@ local block_state deflate_stored(deflate_state *s, int flush) { |
|
|
|
_tr_stored_block(s, (char *)0, 0L, last); |
|
|
|
_tr_stored_block(s, (char *)0, 0L, last); |
|
|
|
|
|
|
|
|
|
|
|
/* Replace the lengths in the dummy stored block with len. */ |
|
|
|
/* Replace the lengths in the dummy stored block with len. */ |
|
|
|
s->pending_buf[s->pending - 4] = len; |
|
|
|
s->pending_buf[s->pending - 4] = (Bytef)len; |
|
|
|
s->pending_buf[s->pending - 3] = len >> 8; |
|
|
|
s->pending_buf[s->pending - 3] = (Bytef)(len >> 8); |
|
|
|
s->pending_buf[s->pending - 2] = ~len; |
|
|
|
s->pending_buf[s->pending - 2] = (Bytef)~len; |
|
|
|
s->pending_buf[s->pending - 1] = ~len >> 8; |
|
|
|
s->pending_buf[s->pending - 1] = (Bytef)(~len >> 8); |
|
|
|
|
|
|
|
|
|
|
|
/* Write the stored block header bytes. */ |
|
|
|
/* Write the stored block header bytes. */ |
|
|
|
flush_pending(s->strm); |
|
|
|
flush_pending(s->strm); |
|
|
|