diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-10-18 14:47:29 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-10-18 14:47:29 +0000 |
commit | 4951f9f809d1c06f675d25fec7a92b8fae8bea51 (patch) | |
tree | 7fe978df8d28261d4f84f61e91a19c65796a6e19 /src/inputStream_http.c | |
parent | 0bd64e7b9e597811cbb144d4970d051156c4a6e0 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/inputStream_http.c | 2 |
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'; } |