Commit ddafdd97 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Strange patch for ICY

parent f83fe87a
Pipeline #1453 passed with stage
in 52 seconds
......@@ -464,11 +464,14 @@ static void process_request_queue (void)
}
}
if (len > 0) {
if (len > 0 || node->shoutcast > 1) {
ssize_t stream_offset = -1;
int pass_it = 1;
char *ptr;
if (len < 0 && node->shoutcast > 1)
len = 0;
/* handle \n, \r\n and nsvcap which for some strange reason has
* EOL as \r\r\n */
node->offset += len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment