From ce814ba303be37c7d54b1454e3756feeb5b5b865 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Mon, 28 Feb 2022 10:21:08 +0000 Subject: [PATCH] Update: Added DDEBUG line in text_get_buffer() --- src/format_text.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/format_text.c b/src/format_text.c index 2b22be64..192d3cbb 100644 --- a/src/format_text.c +++ b/src/format_text.c @@ -62,6 +62,8 @@ static refbuf_t *text_get_buffer(source_t *source) refbuf_t *refbuf = refbuf_new(1024); ssize_t bytes; + ICECAST_LOG_DDEBUG("Trying to read buffer."); + bytes = client_body_read(source->client, refbuf->data, refbuf->len); if (bytes < 0) { /* Why do we do this here (not source.c)? -- ph3-der-loewe, 2018-04-17 */