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:
parent
e5a88b1ffe
commit
fa4cb48830
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user