1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Made more use of %#H

This commit is contained in:
Philipp Schafft 2024-01-14 16:47:51 +00:00
parent 75d7082e60
commit 573c7e51ab

View File

@ -554,7 +554,7 @@ static refbuf_t *get_next_buffer (source_t *source)
source->last_read = current;
refbuf = source->format->get_buffer(source);
if (client_body_eof(source->client)) {
ICECAST_LOG_INFO("End of Stream %s", source->mount);
ICECAST_LOG_INFO("End of Stream %H", source->mount);
source->running = 0;
continue;
}
@ -943,9 +943,9 @@ static void source_shutdown (source_t *source)
{
source->running = 0;
if (source->con && source->con->ip) {
ICECAST_LOG_INFO("Source from %s at \"%s\" exiting", source->con->ip, source->mount);
ICECAST_LOG_INFO("Source from %s at %#H exiting", source->con->ip, source->mount);
} else {
ICECAST_LOG_INFO("Source at \"%s\" exiting", source->mount);
ICECAST_LOG_INFO("Source at %#H exiting", source->mount);
}
event_emit_va("source-disconnect", EVENT_EXTRA_SOURCE, source, EVENT_EXTRA_CLIENT, source->client, EVENT_EXTRA_LIST_END);