From 94dc65d516429c88ac987a209ea740e8c197864e Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 1 Nov 2004 15:56:33 +0000 Subject: set open = 0 on failing to open the connection git-svn-id: https://svn.musicpd.org/mpd/trunk@2446 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutput_shout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audioOutput_shout.c') diff --git a/src/audioOutput_shout.c b/src/audioOutput_shout.c index 0de8f4f57..4876ae508 100644 --- a/src/audioOutput_shout.c +++ b/src/audioOutput_shout.c @@ -414,7 +414,7 @@ static int shout_openDevice(AudioOutput * audioOutput, if(sd->opened) return 0; if(shout_openShoutConn(audioOutput) < 0) { - audioOutput->open = 1; + audioOutput->open = 0; return -1; } -- cgit v1.2.3