webclient.c: Don't parse the status line as the first header line
This commit is contained in:
parent
f17af21f9c
commit
eb1a99fdd6
@ -447,6 +447,7 @@ static inline int wget_parsestatus(struct webclient_context *ctx,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
ws->state = WEBCLIENT_STATE_HEADERS;
|
ws->state = WEBCLIENT_STATE_HEADERS;
|
||||||
|
ndx = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user