FreeBSD Bugzilla – Attachment 29150 Details for
Bug 48771
Bug in audio/shout when using with SHOUTcast Server 1.9.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
shout.diff
shout.diff (text/plain), 1.29 KB, created by
Justas Gurinavicius
on 2003-02-28 11:10:08 UTC
(
hide
)
Description:
shout.diff
Filename:
MIME Type:
Creator:
Justas Gurinavicius
Created:
2003-02-28 11:10:08 UTC
Size:
1.29 KB
patch
obsolete
>--- shout-0.8.0.orig/shout.c Thu Apr 20 09:31:50 2000 >+++ shout-0.8.0/shout.c Thu Feb 27 15:47:37 2003 >@@ -1738,7 +1738,7 @@ > void > update_meta_info_on_server (char *filename, unsigned long int size) > { >- sock_t sockfd = sock_connect (set.servername, set.port); >+ sock_t sockfd = sock_connect (set.servername, set.port-1); > char title[BUFSIZE]; /* copy of filename */ > char *song = NULL; > char *mount = NULL; >@@ -1815,7 +1815,7 @@ > > if (sockfd != -1) { > if (set.use_icy) { >- sock_write (sockfd, "GET /admin.cgi?pass=%s&mode=updinfo&song=%s HTTP/1.0\nHost: %s:%d\nUser-Agent: Shout/%s\n\n", set.password, url_encode (titleptr, &song), set.servername, set.port, VERSION); >+ sock_write (sockfd, "GET /admin.cgi?pass=%s&mode=updinfo&song=%s HTTP/1.0\nHost: %s:%d\nUser-Agent: Mozilla(Shout/%s)\n\n", set.password, url_encode (titleptr, &song), set.servername, set.port-1, VERSION); > } else { > sock_write (sockfd, "GET /admin.cgi?pass=%s&mode=updinfo&mount=%s&song=%s&length=%ld HTTP/1.0\nHost: %s:%d\nUser-Agent: Shout/%s\n\n", set.password, url_encode (set.mount_name, &mount), url_encode (titleptr, &song), size, set.servername, set.port, VERSION); > if (mount)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48771
: 29150