fix bug #325
git-svn-id: https://svn.musicpd.org/mpd/trunk@2270 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
0bd64e7b9e
commit
4951f9f809
@ -601,7 +601,7 @@ static int getHTTPHello(InputStream * inStream) {
|
|||||||
*temp = '\0';
|
*temp = '\0';
|
||||||
if(inStream->mime) free(inStream->mime);
|
if(inStream->mime) free(inStream->mime);
|
||||||
while(*(incr+cur) == ' ') incr++;
|
while(*(incr+cur) == ' ') incr++;
|
||||||
inStream->mime = strdup(cur+15);
|
inStream->mime = strdup(cur+incr);
|
||||||
*temp = '\r';
|
*temp = '\r';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user