mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-25 02:20:27 +00:00
Merge pull request #14 from notandy/master
fixed mpd connection with empty mpdpass introduced by #148
This commit is contained in:
commit
7a31b441b6
@ -113,6 +113,7 @@ int main(int argc, char **argv)
|
||||
run_as_user = strdup(optarg);
|
||||
break;
|
||||
case 'm':
|
||||
if (strlen(optarg) > 0)
|
||||
mpd.password = strdup(optarg);
|
||||
break;
|
||||
case 'v':
|
||||
|
Loading…
Reference in New Issue
Block a user