]> git.pld-linux.org Git - packages/c-icap-modules.git/blame - clamav0.101.patch
- fix building with clamav 0.101
[packages/c-icap-modules.git] / clamav0.101.patch
CommitLineData
3b3f2bb1
JR
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
3@@ -123,7 +123,7 @@
4 #ifndef HAVE_LIBCLAMAV_095
5 struct cl_limits limits;
6 #endif
7-unsigned int CLAMSCAN_OPTIONS = CL_SCAN_STDOPT;
8+unsigned int CLAMSCAN_OPTIONS = CL_DB_STDOPT;
9
10 struct virus_db *virusdb = NULL;
11 struct virus_db *old_virusdb = NULL;
12@@ -489,7 +489,7 @@
13 CLAMSCAN_OPTIONS);
14 #else
15 ret =
16- cl_scandesc(fd, &virname, &scanned_data, vdb,
17+ cl_scandesc(fd, body->filename, &virname, &scanned_data, vdb,
18 CLAMSCAN_OPTIONS);
19 #endif
20
This page took 0.0868 seconds and 4 git commands to generate.