Commit 5b5dd126 authored by Warren Dukes's avatar Warren Dukes

i'm a moron

git-svn-id: https://svn.musicpd.org/mpd/trunk@1377 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent a6fe459e
...@@ -224,7 +224,7 @@ void establishListen(Options * options) { ...@@ -224,7 +224,7 @@ void establishListen(Options * options) {
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
if(options->createDB < 0 && !options->updateDB && if(options->createDB <= 0 && !options->updateDB &&
(listenSocket = establish(port))<0) (listenSocket = establish(port))<0)
{ {
ERROR("error binding port\n"); ERROR("error binding port\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment