i'm a moron
git-svn-id: https://svn.musicpd.org/mpd/trunk@1377 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
a6fe459ee4
commit
5b5dd126aa
|
@ -224,7 +224,7 @@ void establishListen(Options * options) {
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
if(options->createDB < 0 && !options->updateDB &&
|
||||
if(options->createDB <= 0 && !options->updateDB &&
|
||||
(listenSocket = establish(port))<0)
|
||||
{
|
||||
ERROR("error binding port\n");
|
||||
|
|
Loading…
Reference in New Issue