Commit 94dc65d5 authored by Warren Dukes's avatar Warren Dukes

set open = 0 on failing to open the connection

git-svn-id: https://svn.musicpd.org/mpd/trunk@2446 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 5f219d92
...@@ -414,7 +414,7 @@ static int shout_openDevice(AudioOutput * audioOutput, ...@@ -414,7 +414,7 @@ static int shout_openDevice(AudioOutput * audioOutput,
if(sd->opened) return 0; if(sd->opened) return 0;
if(shout_openShoutConn(audioOutput) < 0) { if(shout_openShoutConn(audioOutput) < 0) {
audioOutput->open = 1; audioOutput->open = 0;
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment