diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 3cef86e5cea..f44efa9415e 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -4223,6 +4223,7 @@ decode_coding (coding, source, destination, src_bytes, dst_bytes) | |||
| 4223 | } | 4223 | } |
| 4224 | 4224 | ||
| 4225 | if (coding->result == CODING_FINISH_INSUFFICIENT_SRC | 4225 | if (coding->result == CODING_FINISH_INSUFFICIENT_SRC |
| 4226 | && coding->mode & CODING_MODE_LAST_BLOCK | ||
| 4226 | && coding->consumed == src_bytes) | 4227 | && coding->consumed == src_bytes) |
| 4227 | coding->result = CODING_FINISH_NORMAL; | 4228 | coding->result = CODING_FINISH_NORMAL; |
| 4228 | 4229 | ||