1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

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

svn path=/trunk/icecast/; revision=3845
This commit is contained in:
Michael Smith 2002-08-17 04:35:23 +00:00
parent f8250d8df0
commit 9c2d2b25fa

View File

@ -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");