[xiph-cvs] cvs commit: libshout/src shout.c

Brendan brendan at xiph.org
Tue Mar 4 11:32:14 PST 2003



brendan     03/03/04 14:32:14

  Modified:    src      shout.c
  Log:
  Shoutcast metadata compatibility fix. Gah.

Revision  Changes    Path
1.30      +1 -1      libshout/src/shout.c

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- shout.c	4 Mar 2003 18:55:08 -0000	1.29
+++ shout.c	4 Mar 2003 19:32:14 -0000	1.30
@@ -252,7 +252,7 @@
                 return SHOUTERR_NOCONNECT;
 
         if (self->protocol == SHOUT_PROTOCOL_ICY)
-		rv = sock_write(socket, "GET /admin.cgi?mode=updinfo&pass=%s&%s HTTP/1.0\r\nUser-Agent: %s\r\n\r\n",
+		rv = sock_write(socket, "GET /admin.cgi?mode=updinfo&pass=%s&%s HTTP/1.0\r\nUser-Agent: %s (Mozilla compatible)\r\n\r\n",
                   self->password, encvalue, shout_get_agent(self));
         else if (self->protocol == SHOUT_PROTOCOL_HTTP) {
                 char *auth = http_basic_authorization(self);

<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