Fix segfault when using short password option (-m)

This commit is contained in:
Galen Alderson 2017-03-29 12:17:01 -04:00
parent e5a88b1ffe
commit fa4cb48830
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ int main(int argc, char **argv)
{0, 0, 0, 0 } {0, 0, 0, 0 }
}; };
while((n = getopt_long(argc, argv, "h:p:w:u:v:m", while((n = getopt_long(argc, argv, "h:p:w:u:vm:",
long_options, &option_index)) != -1) { long_options, &option_index)) != -1) {
switch (n) { switch (n) {
case 'h': case 'h':