aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ccl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ccl.c b/src/ccl.c
index de50374f9f8..259ae8662f5 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1720,7 +1720,8 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
1720 } 1720 }
1721 1721
1722 ccl_error_handler: 1722 ccl_error_handler:
1723 if (destination) 1723 if (ccl->suppress_error
1724 && destination)
1724 { 1725 {
1725 /* We can insert an error message only if DESTINATION is 1726 /* We can insert an error message only if DESTINATION is
1726 specified and we still have a room to store the message 1727 specified and we still have a room to store the message
@@ -1937,6 +1938,7 @@ setup_ccl_program (ccl, ccl_prog)
1937 ccl->status = 0; 1938 ccl->status = 0;
1938 ccl->stack_idx = 0; 1939 ccl->stack_idx = 0;
1939 ccl->eol_type = CODING_EOL_LF; 1940 ccl->eol_type = CODING_EOL_LF;
1941 ccl->suppress_error = 0;
1940 return 0; 1942 return 0;
1941} 1943}
1942 1944