mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
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;
|
||||
DEBUGF(infof(data, "cr_eob_read(%zu) -> %d, %zd, %d",
|
||||
blen, result, *pnread, *peos));
|
||||
return CURLE_OK;
|
||||
return result;
|
||||
}
|
||||
|
||||
static curl_off_t cr_eob_total_length(struct Curl_easy *data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user