aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2000-10-26 01:22:29 +0000
committerKenichi Handa <[email protected]>2000-10-26 01:22:29 +0000
commite7c9eef9a66c9a7c1186b4add69a9ecc7af5700b (patch)
treef54c05aff5333e269fd1d9454e90df4e3f9f3dc3 /src
parent42f92d4d10c9e9e400fd3501e52beac47b0406d3 (diff)
(decode_coding): Fix previous change (check also
CODING_MODE_LAST_BLOCK).
Diffstat (limited to 'src')
-rw-r--r--src/coding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 3cef86e5ce..f44efa9415 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4223,6 +4223,7 @@ decode_coding (coding, source, destination, src_bytes, dst_bytes)
}
if (coding->result == CODING_FINISH_INSUFFICIENT_SRC
+ && coding->mode & CODING_MODE_LAST_BLOCK
&& coding->consumed == src_bytes)
coding->result = CODING_FINISH_NORMAL;