1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

close report #842. It's more informative to report the read bytes

svn path=/icecast/trunk/icecast/; revision=11006
This commit is contained in:
Karl Heyes 2006-03-15 02:34:39 +00:00
parent 8ec568d5b5
commit c81a42cb3b

View File

@ -199,6 +199,10 @@ void source_clear_source (source_t *source)
source->parser = NULL;
source->con = NULL;
/* log bytes read in access log */
if (source->client && source->format)
source->client->con->sent_bytes = source->format->read_bytes;
if (source->dumpfile)
{
INFO1 ("Closing dumpfile for %s", source->mount);