From 5a2f599dba420947c8fdcbe716fa670957f1f27d Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 13 Mar 2005 23:59:04 +0000 Subject: a little more error output git-svn-id: https://svn.musicpd.org/mpd/trunk@3078 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_shout.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/audioOutputs') 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: -- cgit v1.2.3