1 --- mod_clamav-0.23/filter.c.orig 2009-04-11 01:32:37.000000000 +0200
2 +++ mod_clamav-0.23/filter.c 2018-12-11 21:11:10.654402097 +0100
6 /* virus scan using local clamav library */
7 +#ifdef CL_SCAN_ARCHIVE
8 return cl_scanfile(ctx->filename, virname, (unsigned long *)len,
9 rec->common->local->engine, CL_SCAN_ARCHIVE);
12 + struct cl_scan_options scanoptions = {0, CL_SCAN_PARSE_ARCHIVE, 0, 0, 0};
13 + return cl_scanfile(ctx->filename, virname, (unsigned long *)len,
14 + rec->common->local->engine, &scanoptions);
18 case MOD_CLAMAV_DAEMON:
19 /* set reasonable defaults for virname */