* wbreyha@gmx.net
* See the file NOTICE for conditions of use and distribution.
*
- * Copyright (c) The Exim Maintainers 2015 - 2019
+ * Copyright (c) The Exim Maintainers 2015 - 2022
*/
/* Code for calling dccifd. Called from acl.c. */
#include "exim.h"
#ifdef EXPERIMENTAL_DCC
+#ifndef WITH_CONTENT_SCAN
+# error EXPERIMENTAL_DCC requires WITH_CONTENT_SCAN
+#endif
+
#include "dcc.h"
#include "unistd.h"
"DCC: -----------------------------------\n", dcc_resplen, dcc_resplen, big_buffer);
/* Now let's read each character and see what we've got */
- for(bufoffset = 0; bufoffset < dcc_resplen, line <= 2; bufoffset++)
+ for(bufoffset = 0; bufoffset < dcc_resplen && line <= 2; bufoffset++)
{
/* First check if we reached the end of the line and
then increment the line counter */