Bug fix in option parsing
This commit is contained in:
parent
3dd81551c6
commit
466c5a69e5
1 changed files with 1 additions and 0 deletions
1
main.c
1
main.c
|
@ -72,6 +72,7 @@ main(int argc, char *argv[])
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'k':
|
case 'k':
|
||||||
keyfile = strdup(optarg);
|
keyfile = strdup(optarg);
|
||||||
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
maxmem = atoi(optarg);
|
maxmem = atoi(optarg);
|
||||||
break;
|
break;
|
||||||
|
|
Reference in a new issue