webclient.c: Don't parse the status line as the first header line

This commit is contained in:
YAMAMOTO Takashi 2021-05-14 10:57:57 +09:00 committed by Alan Carvalho de Assis
parent f17af21f9c
commit eb1a99fdd6

View File

@ -447,6 +447,7 @@ static inline int wget_parsestatus(struct webclient_context *ctx,
*/
ws->state = WEBCLIENT_STATE_HEADERS;
ndx = 0;
break;
}
else