[xiph-cvs] cvs commit: icecast/src source.c

Michael Smith msmith at xiph.org
Fri Aug 16 21:35:23 PDT 2002



msmith      02/08/17 00:35:23

  Modified:    src      source.c
  Log:
  Minor fix I forgot to commit yesterday for source data length accounting.

Revision  Changes    Path
1.21      +1 -0      icecast/src/source.c

Index: source.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/source.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- source.c	16 Aug 2002 14:26:48 -0000	1.20
+++ source.c	17 Aug 2002 04:35:23 -0000	1.21
@@ -168,6 +168,7 @@
                     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");

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list