From: Daniel Stenberg Date: Tue, 8 Apr 2003 14:48:38 +0000 (+0000) Subject: James Bursa fixed a flaw in the content-type extracting code that could X-Git-Tag: curl-7_10_5~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a2db0dfb14d755071b4f321b3401a7091b0a467;p=curl James Bursa fixed a flaw in the content-type extracting code that could miss the first letter --- diff --git a/lib/transfer.c b/lib/transfer.c index e863be4e1..523a097b5 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -568,7 +568,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, int len; /* Find the first non-space letter */ - for(start=k->p+14; + for(start=k->p+13; *start && isspace((int)*start); start++);