diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-07 20:44:41 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-07 20:44:41 +0000 |
commit | 5b5dd126aa56f130e208c7cc781e9de34b675c53 (patch) | |
tree | 4e7a40c496bde208adac88337fe172cb28ca8edd | |
parent | a6fe459ee40613df1cdad845005fb34b72888e1d (diff) | |
download | mpd-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.c | 2 |
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"); |