smtp: result of Curl_bufq_cread was not used

return the result back to the caller.

Closes #13398
This commit is contained in:
MonkeybreadSoftware 2024-04-17 13:12:09 +02:00 committed by Daniel Stenberg
parent c37b694e46
commit 4746b8362b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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,