Browse code

limit set typoed in clamscan

git-svn: trunk@3634

aCaB authored on 2008/02/15 03:53:01
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Feb 14 19:38:48 CET 2008 (acab)
2
+-----------------------------------
3
+  * clamscan/manager.c: another typo in setting limits - thx nitrox
4
+
1 5
 Thu Feb 14 19:21:03 CET 2008 (acab)
2 6
   * libclamav: limits in blobs
3 7
 
... ...
@@ -226,7 +226,7 @@ int scanmanager(const struct optstruct *opt)
226 226
 	if(tolower(ptr[strlen(ptr) - 1]) == 'm') {
227 227
 	    cpy = calloc(strlen(ptr), 1);
228 228
 	    strncpy(cpy, ptr, strlen(ptr) - 1);
229
-	    limits.maxfilesize = atoi(cpy) * 1024 * 1024;
229
+	    limits.maxscansize = atoi(cpy) * 1024 * 1024;
230 230
 	    free(cpy);
231 231
 	} else
232 232
 	    limits.maxscansize = atoi(ptr) * 1024;