diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-01 15:56:33 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-01 15:56:33 +0000 |
commit | 94dc65d516429c88ac987a209ea740e8c197864e (patch) | |
tree | c428aa7d5b8a4f1e4a1eb723163e9e00cd669a50 | |
parent | 5f219d925c85d78a8993a9b3167c322a5ad0f199 (diff) | |
download | mpd-94dc65d516429c88ac987a209ea740e8c197864e.tar.gz mpd-94dc65d516429c88ac987a209ea740e8c197864e.tar.xz mpd-94dc65d516429c88ac987a209ea740e8c197864e.zip |
set open = 0 on failing to open the connection
git-svn-id: https://svn.musicpd.org/mpd/trunk@2446 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | src/audioOutput_shout.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |