smtp: result of Curl_bufq_cread was not used
return the result back to the caller. Closes #13398
This commit is contained in:
parent
c37b694e46
commit
4746b8362b
@ -1903,7 +1903,7 @@ static CURLcode cr_eob_read(struct Curl_easy *data,
|
|||||||
*peos = ctx->eos;
|
*peos = ctx->eos;
|
||||||
DEBUGF(infof(data, "cr_eob_read(%zu) -> %d, %zd, %d",
|
DEBUGF(infof(data, "cr_eob_read(%zu) -> %d, %zd, %d",
|
||||||
blen, result, *pnread, *peos));
|
blen, result, *pnread, *peos));
|
||||||
return CURLE_OK;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static curl_off_t cr_eob_total_length(struct Curl_easy *data,
|
static curl_off_t cr_eob_total_length(struct Curl_easy *data,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user