Commit c81a42cb authored by Karl Heyes's avatar Karl Heyes
Browse files

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

svn path=/icecast/trunk/icecast/; revision=11006
parent 8ec568d5
......@@ -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);
Supports Markdown
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