a little more error output

git-svn-id: https://svn.musicpd.org/mpd/trunk@3078 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2005-03-13 23:59:04 +00:00
parent 5bddf6eefc
commit 5a2f599dba

View File

@ -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: