From 817e79e3c1ae12a75ebf9393ffece928895dfce1 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 7 Jun 2004 16:32:58 +0000 Subject: fix bug with --no-create-db git-svn-id: https://svn.musicpd.org/mpd/trunk@1373 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 13eb689fb..733b06bed 100644 --- a/src/main.c +++ b/src/main.c @@ -224,7 +224,7 @@ void establishListen(Options * options) { exit(EXIT_FAILURE); } - if(!options->createDB && !options->updateDB && + if(options->createDB < 0 && !options->updateDB && (listenSocket = establish(port))<0) { ERROR("error binding port\n"); -- cgit v1.2.3