aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_http.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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';
}