From 4951f9f809d1c06f675d25fec7a92b8fae8bea51 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 18 Oct 2004 14:47:29 +0000 Subject: fix bug #325 git-svn-id: https://svn.musicpd.org/mpd/trunk@2270 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputStream_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- cgit v1.2.3