mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
James Bursa fixed a flaw in the content-type extracting code that could
miss the first letter
This commit is contained in:
parent
696f95bb0a
commit
1a2db0dfb1
@ -568,7 +568,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||||||
int len;
|
int len;
|
||||||
|
|
||||||
/* Find the first non-space letter */
|
/* Find the first non-space letter */
|
||||||
for(start=k->p+14;
|
for(start=k->p+13;
|
||||||
*start && isspace((int)*start);
|
*start && isspace((int)*start);
|
||||||
start++);
|
start++);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user