1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Improve connection error message

This commit is contained in:
Moritz Grimm 2020-01-22 23:42:06 +01:00
parent 37c551c0c2
commit f906e03a39

View File

@ -523,9 +523,9 @@ stream_connect(struct stream *s)
if (shout_open(s->shout) == SHOUTERR_SUCCESS)
return (0);
log_warning("stream: %s: connect: %s: error %d: %s", s->name,
shout_get_host(s->shout), shout_get_errno(s->shout),
shout_get_error(s->shout));
log_warning("stream: %s: connect: [%s]:%d: error %d: %s", s->name,
shout_get_host(s->shout), shout_get_port(s->shout),
shout_get_errno(s->shout), shout_get_error(s->shout));
return (-1);
}