[xiph-commits] r11006 - icecast/trunk/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Tue Mar 14 18:34:42 PST 2006


Author: karl
Date: 2006-03-14 18:34:39 -0800 (Tue, 14 Mar 2006)
New Revision: 11006

Modified:
   icecast/trunk/icecast/src/source.c
Log:
close report #842. It's more informative to report the read bytes


Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c	2006-03-15 02:30:26 UTC (rev 11005)
+++ icecast/trunk/icecast/src/source.c	2006-03-15 02:34:39 UTC (rev 11006)
@@ -199,6 +199,10 @@
     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);



More information about the commits mailing list