git-svn: trunk@3629
aCaB authored on 2008/02/14 01:28:16... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Wed Feb 13 17:14:30 CET 2008 (acab) |
|
2 |
+----------------------------------- |
|
3 |
+ * clamd: fix typo on limits setup |
|
4 |
+ |
|
1 | 5 |
Wed Feb 13 12:43:41 EET 2008 (edwin) |
2 | 6 |
------------------------------------ |
3 | 7 |
* clamd/scanner.c, thrmgr.[ch]: use pthread_cond_* instead of usleep() in |
... | ... |
@@ -318,7 +318,7 @@ int acceptloop_th(int *socketds, int nsockets, struct cl_engine *engine, unsigne |
318 | 318 |
|
319 | 319 |
memset(&limits, 0, sizeof(struct cl_limits)); |
320 | 320 |
|
321 |
- if((limits.maxfilesize = cfgopt(copt, "MaxScanSize")->numarg)) { |
|
321 |
+ if((limits.maxscansize = cfgopt(copt, "MaxScanSize")->numarg)) { |
|
322 | 322 |
logg("Limits: Global size limit set to %lu bytes.\n", limits.maxscansize); |
323 | 323 |
} else { |
324 | 324 |
logg("^Limits: Global size limit protection disabled.\n"); |