aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_http.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-18 14:47:29 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-18 14:47:29 +0000
commit4951f9f809d1c06f675d25fec7a92b8fae8bea51 (patch)
tree7fe978df8d28261d4f84f61e91a19c65796a6e19 /src/inputStream_http.c
parent0bd64e7b9e597811cbb144d4970d051156c4a6e0 (diff)
downloadmpd-4951f9f809d1c06f675d25fec7a92b8fae8bea51.tar.gz
mpd-4951f9f809d1c06f675d25fec7a92b8fae8bea51.tar.xz
mpd-4951f9f809d1c06f675d25fec7a92b8fae8bea51.zip
fix bug #325
git-svn-id: https://svn.musicpd.org/mpd/trunk@2270 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 e12866ef6..9a32b269d 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -601,7 +601,7 @@ static int getHTTPHello(InputStream * inStream) {
*temp = '\0';
if(inStream->mime) free(inStream->mime);
while(*(incr+cur) == ' ') incr++;
- inStream->mime = strdup(cur+15);
+ inStream->mime = strdup(cur+incr);
*temp = '\r';
}