aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coding.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index d4f17022626..bdfe771209a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6185,7 +6185,8 @@ decode_coding (coding)
6185 = coding->charbuf[coding->charbuf_used - carryover + i]; 6185 = coding->charbuf[coding->charbuf_used - carryover + i];
6186 } 6186 }
6187 while (coding->consumed < coding->src_bytes 6187 while (coding->consumed < coding->src_bytes
6188 && coding->result != CODING_RESULT_INSUFFICIENT_MEM); 6188 && (coding->result == CODING_RESULT_SUCCESS
6189 || coding->result == CODING_RESULT_INVALID_SRC));
6189 6190
6190 if (carryover > 0) 6191 if (carryover > 0)
6191 { 6192 {