Skip to content
Snippets Groups Projects
Commit edb81c52 authored by rswindell's avatar rswindell
Browse files

Fixed bug with argv processing that caused specified reject threshold to not

work.
parent dc095e99
Branches
Tags
No related merge requests found
......@@ -49,7 +49,7 @@ function main()
var max_size = 500000; /* bytes */
// Process arguments:
for(i in argv) {
for(i=0; i<argc; i++) {
// Strip any pre-pended slashes
while(argv[i].charAt(0)=='-')
......@@ -104,7 +104,6 @@ function main()
details += ', tests: ' + ret.symbols;
log(LOG_INFO, details);
if(!ret.isSpam || ret.score < reject_threshold)
reject = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment