From 5b5dd126aa56f130e208c7cc781e9de34b675c53 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 7 Jun 2004 20:44:41 +0000 Subject: [PATCH] i'm a moron git-svn-id: https://svn.musicpd.org/mpd/trunk@1377 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");