Skip to content
Snippets Groups Projects
Commit 4162d827 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix: the -m (max file size) cmd-line option did not work.

Pre-increment would've worked too.
parent af5d8604
No related branches found
No related tags found
No related merge requests found
......@@ -1761,7 +1761,7 @@ int main(int argc, char **argv)
pause_on_abend=TRUE;
break;
case 'M': /* MaxFileSize */
max_file_size=strtoul(arg++,NULL,0); /* TODO: use strtoull() ? */
max_file_size=strtoul(arg + 1,NULL,0); /* TODO: use strtoull() ? */
break;
case 'L': /* Lowercase received filenames */
lc_filenames=TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment