/[smecontribs]/rpms/dansguardian/contribs7/dansguardian-clamav-0.93_build_fix.diff
ViewVC logotype

Contents of /rpms/dansguardian/contribs7/dansguardian-clamav-0.93_build_fix.diff

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Apr 19 23:58:20 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: dansguardian-2_9_9_3-1_el4_sme
Add patch

1 --- src/contentscanners/clamav.cpp 2007-07-11 17:00:12.000000000 +0200
2 +++ src/contentscanners/clamav.cpp.oden 2008-04-17 20:24:54.000000000 +0200
3 @@ -262,10 +262,10 @@
4 if (limits.maxreclevel < 1) {
5 limits.maxreclevel = 5;
6 }
7 - limits.maxratio = cv["maxratio"].toInteger();
8 - if (limits.maxratio < 1) {
9 - limits.maxratio = 200;
10 - }
11 + // limits.maxratio = cv["maxratio"].toInteger();
12 + // if (limits.maxratio < 1) {
13 + // limits.maxratio = 200;
14 + // }
15 #ifdef DGDEBUG
16 std::cerr << "maxfiles: " << limits.maxfiles << " maxfilesize: " << limits.maxfilesize
17 << " maxreclevel: " << limits.maxreclevel << " maxratio: " << limits.maxratio << std::endl;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed