Merge pull request #37 from jpleau/fix_mpd_port_argument
ympd.c: add a break statement for the mpd port argument
This commit is contained in:
commit
9728aae69c
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ int main(int argc, char **argv)
|
|||
break;
|
||||
case 'p':
|
||||
mpd.port = atoi(optarg);
|
||||
break;
|
||||
case 'w':
|
||||
error_msg = mg_set_option(server, "listening_port", optarg);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue