notandy / ympd

Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
http://www.ympd.org
GNU General Public License v2.0
523 stars 144 forks source link

add break inside the -p args switch statement #39

Closed phmongeau closed 10 years ago

phmongeau commented 10 years ago

Not sure why it dind't cause any probelems before, but after building with the latest version I couldn't use the -p argument anymore. ympd always exited with the following error:

Mongoose error: Cannot bind to port

Turns out there was no break in the switch case for that argument. Adding the break solved the problem.

jpleau commented 10 years ago

See #37

phmongeau commented 10 years ago

Oops, sorry, I hadn't seen it!