1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-23 05:17:18 +00:00

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:
Andy 2014-11-02 13:13:04 +01:00
commit 9728aae69c

View File

@ -98,6 +98,7 @@ int main(int argc, char **argv)
break; break;
case 'p': case 'p':
mpd.port = atoi(optarg); mpd.port = atoi(optarg);
break;
case 'w': case 'w':
error_msg = mg_set_option(server, "listening_port", optarg); error_msg = mg_set_option(server, "listening_port", optarg);
break; break;