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:
parent
5bddf6eefc
commit
5a2f599dba
@ -277,9 +277,10 @@ static int myShout_handleError(ShoutData * sd, int err) {
|
|||||||
break;
|
break;
|
||||||
case SHOUTERR_UNCONNECTED:
|
case SHOUTERR_UNCONNECTED:
|
||||||
case SHOUTERR_SOCKET:
|
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_host(sd->shoutConn),
|
||||||
shout_get_port(sd->shoutConn));
|
shout_get_port(sd->shoutConn),
|
||||||
|
shout_get_error(sd->shoutConn));
|
||||||
sd->shoutError = 1;
|
sd->shoutError = 1;
|
||||||
return -1;
|
return -1;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user