← Commit list

e214b14501

Daniel Stenberg
Daniel Stenberg
2025-10-06
SUCCESS Duration: 188s

Subject

telnet: send failure logged but not returned

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/telnet.c+1 -0
@@ -984,6 +984,7 @@ static CURLcode suboption(struct Curl_easy *data, struct TELNET *tn)
if(bytes_written < 0) {
err = SOCKERRNO;
failf(data,"Sending data failed (%d)",err);
+ return CURLE_SEND_ERROR;
}
printsub(data, '>', &temp[2], len-2);
break;