[xiph-cvs] cvs commit: icecast/src connection.c
Michael Smith
msmith at xiph.org
Mon Aug 12 03:11:45 PDT 2002
msmith 02/08/12 06:11:44
Modified: src connection.c
Log:
Fix a bug in one of the error (404) responses.
Revision Changes Path
1.21 +1 -1 icecast/src/connection.c
Index: connection.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/connection.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- connection.c 11 Aug 2002 14:23:39 -0000 1.20
+++ connection.c 12 Aug 2002 10:11:44 -0000 1.21
@@ -511,7 +511,7 @@
else {
client->respcode = 404;
bytes = sock_write(client->con->sock,
- "HTTP/1.0 404 Not Found\r\nContent-Type: text/html\r\n<b>The file you requested could not be found</b>\r\n");
+ "HTTP/1.0 404 Not Found\r\nContent-Type: text/html\r\n\r\n<b>The file you requested could not be found</b>\r\n");
}
avl_tree_unlock(global.source_tree);
if(bytes > 0) client->con->sent_bytes = bytes;
<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