git-svn: trunk@3634
aCaB authored on 2008/02/15 03:53:01... | ... |
@@ -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; |