[xiph-cvs] cvs commit: vorbis-tools/ogg123 ogg123.c
Michael Smith
msmith at xiph.org
Fri Dec 29 20:43:47 PST 2000
msmith 00/12/29 20:43:47
Modified: ogg123 ogg123.c
Log:
Flush the stream after sending http headers (makes it almost work on OS/2, apart
from an apparent C library bug).
Revision Changes Path
1.17 +3 -1 vorbis-tools/ogg123/ogg123.c
Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ogg123.c 2000/12/25 22:20:41 1.16
+++ ogg123.c 2000/12/30 04:43:47 1.17
@@ -14,7 +14,7 @@
* *
********************************************************************
- last mod: $Id: ogg123.c,v 1.16 2000/12/25 22:20:41 kcarnold Exp $
+ last mod: $Id: ogg123.c,v 1.17 2000/12/30 04:43:47 msmith Exp $
********************************************************************/
@@ -314,6 +314,8 @@
"Accept: */*\r\n"
"User-Agent: ogg123\r\n"
"Host: %s\r\n\r\n\r\n", path, server);
+
+ fflush(opt.instream); /* Make sure these are all actually sent */
/* Dump headers */
{
--- >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