]> git.pld-linux.org Git - packages/c-icap-modules.git/blob - clamav0.101.patch
- up to 0.5.5
[packages/c-icap-modules.git] / clamav0.101.patch
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  #ifdef HAVE_CL_SCAN_OPTIONS
5  struct cl_scan_options CLAMSCAN_OPTIONS;
6  #else
7 -unsigned int CLAMSCAN_OPTIONS = CL_SCAN_STDOPT;
8 +unsigned int CLAMSCAN_OPTIONS = CL_DB_STDOPT;
9  #endif
10  
11  struct virus_db *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.022663 seconds and 3 git commands to generate.