From: MonkeybreadSoftware Date: Wed, 17 Apr 2024 11:12:09 +0000 (+0200) Subject: smtp: result of Curl_bufq_cread was not used X-Git-Tag: curl-8_8_0~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4746b8362b5dce32978521497275410baf6ac0b9;p=thirdparty%2Fcurl.git smtp: result of Curl_bufq_cread was not used return the result back to the caller. Closes #13398 --- 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,