aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_shout.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-13 23:59:04 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-13 23:59:04 +0000
commit5a2f599dba420947c8fdcbe716fa670957f1f27d (patch)
treea2e54376d38f9714e287b5e1af1e414617fead93 /src/audioOutputs/audioOutput_shout.c
parent5bddf6eefcc9c1d0245d8e86cd77ed6dddb5d406 (diff)
downloadmpd-5a2f599dba420947c8fdcbe716fa670957f1f27d.tar.gz
mpd-5a2f599dba420947c8fdcbe716fa670957f1f27d.tar.xz
mpd-5a2f599dba420947c8fdcbe716fa670957f1f27d.zip
a little more error output
git-svn-id: https://svn.musicpd.org/mpd/trunk@3078 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_shout.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 322f7e325..cbbd04c9a 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -277,9 +277,10 @@ static int myShout_handleError(ShoutData * sd, int err) {
break;
case SHOUTERR_UNCONNECTED:
case SHOUTERR_SOCKET:
- ERROR("Lost shout connection to %s:%i\n",
+ ERROR("Lost shout connection to %s:%i : %s\n",
shout_get_host(sd->shoutConn),
- shout_get_port(sd->shoutConn));
+ shout_get_port(sd->shoutConn),
+ shout_get_error(sd->shoutConn));
sd->shoutError = 1;
return -1;
default: