[xiph-cvs] cvs commit: libshout/src shout.c
Brendan
brendan at xiph.org
Tue Feb 25 15:14:39 PST 2003
brendan 03/02/25 18:14:39
Modified: src shout.c
Log:
And a couple more nits. Thanks, cpp!
Revision Changes Path
1.28 +2 -2 libshout/src/shout.c
Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- shout.c 23 Feb 2003 00:11:32 -0000 1.27
+++ shout.c 25 Feb 2003 23:14:39 -0000 1.28
@@ -683,7 +683,7 @@
static int send_http_request(shout_t *self, char *username, char *password)
{
char *auth;
- const char *ai;
+ char *ai;
if (!sock_write(self->socket, "SOURCE %s HTTP/1.0\r\n", self->mount))
return SHOUTERR_SOCKET;
@@ -712,7 +712,7 @@
if (bitrate && !sock_write(self->socket, "ice-bitrate: %s\r\n", bitrate))
return SHOUTERR_SOCKET;
#else
- if (ai = util_dict_urlencode(self->audio_info, ';')) {
+ if ((ai = util_dict_urlencode(self->audio_info, ';'))) {
if (!sock_write(self->socket, "ice-audio-info: %s\r\n", ai)) {
free(ai);
return SHOUTERR_SOCKET;
<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