Commit 9c2d2b25 authored by Michael Smith's avatar Michael Smith

Minor fix I forgot to commit yesterday for source data length accounting.

svn path=/trunk/icecast/; revision=3845
parent f8250d8d
......@@ -168,6 +168,7 @@ void *source_main(void *arg)
break;
}
if (bytes <= 0) break;
source->client->con->sent_bytes += bytes;
ret = source->format->get_buffer(source->format, buffer, bytes, &refbuf);
if(ret < 0) {
WARN0("Bad data from source");
......
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