From 4746b8362b5dce32978521497275410baf6ac0b9 Mon Sep 17 00:00:00 2001 From: MonkeybreadSoftware Date: Wed, 17 Apr 2024 13:12:09 +0200 Subject: [PATCH] smtp: result of Curl_bufq_cread was not used return the result back to the caller. Closes #13398 --- lib/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smtp.c b/lib/smtp.c index dc2f1c9180..a0cb38a8f5 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -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,