← Commit list

fffc16dd9c

Daniel Stenberg
Daniel Stenberg
2025-10-19
SUCCESS Duration: 253s

Subject

smtp: return value ignored

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/smtp.c+1 -1
@@ -1136,7 +1136,7 @@ static CURLcode smtp_state_command_resp(struct Curl_easy *data,
if(!data->req.no_body)
result = Curl_client_write(data, CLIENTWRITE_BODY, line, len);
- if(smtpcode != 1) {
+ if(!result && (smtpcode != 1)) {
if(smtp->rcpt) {
smtp->rcpt = smtp->rcpt->next;