Skip to content
Snippets Groups Projects
Commit b16b7a4f 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 09e2e10c
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #903 passed
...@@ -1761,7 +1761,7 @@ int main(int argc, char **argv) ...@@ -1761,7 +1761,7 @@ int main(int argc, char **argv)
pause_on_abend=TRUE; pause_on_abend=TRUE;
break; break;
case 'M': /* MaxFileSize */ 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; break;
case 'L': /* Lowercase received filenames */ case 'L': /* Lowercase received filenames */
lc_filenames=TRUE; lc_filenames=TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment