aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-07 20:44:41 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-07 20:44:41 +0000
commit5b5dd126aa56f130e208c7cc781e9de34b675c53 (patch)
tree4e7a40c496bde208adac88337fe172cb28ca8edd
parenta6fe459ee40613df1cdad845005fb34b72888e1d (diff)
downloadmpd-5b5dd126aa56f130e208c7cc781e9de34b675c53.tar.gz
mpd-5b5dd126aa56f130e208c7cc781e9de34b675c53.tar.xz
mpd-5b5dd126aa56f130e208c7cc781e9de34b675c53.zip
i'm a moron
git-svn-id: https://svn.musicpd.org/mpd/trunk@1377 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a2f5726cf..58eb8d98a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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");