1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-26 06:47:17 +00:00

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

View File

@ -91,7 +91,7 @@ int main(int argc, char **argv)
{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) {
switch (n) {
case 'h':