aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_http.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-03 19:46:03 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-03 19:46:03 +0000
commit7e2cbdee0575a16211a76d3c9b8afaca09894fa6 (patch)
tree6c906cdd12608cfe7ffc3966dee69055fe9b7b9b /src/inputStream_http.c
parentd5596a1cf09ba5f89ab59824de19d15fcaceb8aa (diff)
downloadmpd-7e2cbdee0575a16211a76d3c9b8afaca09894fa6.tar.gz
mpd-7e2cbdee0575a16211a76d3c9b8afaca09894fa6.tar.xz
mpd-7e2cbdee0575a16211a76d3c9b8afaca09894fa6.zip
Removing that space that was recently added to the "Icy-Metadata: 1" HTTP
header. While this is odd for an HTTP header, it's actually quite common for streaming clients to send it without a space. Some clients do send with a space as well, but without one has always worked fine and may in fact be more compatible. git-svn-id: https://svn.musicpd.org/mpd/trunk@6472 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputStream_http.c')
-rw-r--r--src/inputStream_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index 9235157d9..1da09c821 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -470,7 +470,7 @@ static int finishHTTPInit(InputStream * inStream)
"User-Agent: %s/%s\r\n"
"Range: bytes=%ld-\r\n"
"%s" /* authorization */
- "Icy-Metadata: 1\r\n"
+ "Icy-Metadata:1\r\n"
"\r\n",
data->path, data->host,
PACKAGE_NAME, PACKAGE_VERSION,