1 --- c_icap_modules-0.5.2/services/virus_scan/clamav_mod.c.orig 2018-09-11 16:25:29.000000000 +0200
2 +++ c_icap_modules-0.5.2/services/virus_scan/clamav_mod.c 2018-12-13 23:00:00.909055631 +0100
4 #ifndef HAVE_LIBCLAMAV_095
5 struct cl_limits limits;
7 -unsigned int CLAMSCAN_OPTIONS = CL_SCAN_STDOPT;
8 +unsigned int CLAMSCAN_OPTIONS = CL_DB_STDOPT;
10 struct virus_db *virusdb = NULL;
11 struct virus_db *old_virusdb = NULL;
16 - cl_scandesc(fd, &virname, &scanned_data, vdb,
17 + cl_scandesc(fd, body->filename, &virname, &scanned_data, vdb,