mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Fix: Made more use of %#H
This commit is contained in:
parent
75d7082e60
commit
573c7e51ab
@ -554,7 +554,7 @@ static refbuf_t *get_next_buffer (source_t *source)
|
|||||||
source->last_read = current;
|
source->last_read = current;
|
||||||
refbuf = source->format->get_buffer(source);
|
refbuf = source->format->get_buffer(source);
|
||||||
if (client_body_eof(source->client)) {
|
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;
|
source->running = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -943,9 +943,9 @@ static void source_shutdown (source_t *source)
|
|||||||
{
|
{
|
||||||
source->running = 0;
|
source->running = 0;
|
||||||
if (source->con && source->con->ip) {
|
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 {
|
} 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);
|
event_emit_va("source-disconnect", EVENT_EXTRA_SOURCE, source, EVENT_EXTRA_CLIENT, source->client, EVENT_EXTRA_LIST_END);
|
||||||
|
Loading…
Reference in New Issue
Block a user