From 573c7e51ab19f0d8e9608d6f1d0e8b282841f1ae Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sun, 14 Jan 2024 16:47:51 +0000 Subject: [PATCH] Fix: Made more use of %#H --- src/source.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/source.c b/src/source.c index 862397d9..94d0d044 100644 --- a/src/source.c +++ b/src/source.c @@ -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);