projects
/
ympd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b29371
)
ympd.c: add a break statement for the mpd port argument
author
Jason Pleau
<jason@jpleau.ca>
Wed, 29 Oct 2014 02:48:08 +0000
(22:48 -0400)
committer
Jason Pleau
<jason@jpleau.ca>
Wed, 29 Oct 2014 02:48:08 +0000
(22:48 -0400)
Otherwise, passing -p tried to also bind the http server to MPD's port
(which was already in use by MPD...)
src/ympd.c
patch
|
blob
|
history
diff --git
a/src/ympd.c
b/src/ympd.c
index
cb7912b
..
794301b
100644
(file)
--- a/
src/ympd.c
+++ b/
src/ympd.c
@@
-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;