From bcb2890c6fb6f64d348baafbaa4c903a0884e199 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 11 Jun 2026 20:01:18 +0200 Subject: [PATCH] telnet: fix error message typos Spotted by GitHub Code Quality Closes #21976 --- lib/telnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/telnet.c b/lib/telnet.c index 29a4f750e8..87398f64ee 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1000,7 +1000,7 @@ static CURLcode suboption(struct Curl_easy *data, struct TELNET *tn) if(bad_option(tn->subopt_ttype)) return CURLE_BAD_FUNCTION_ARGUMENT; if(strlen(tn->subopt_ttype) > 1000) { - failf(data, "Tool long telnet TTYPE"); + failf(data, "Too long telnet TTYPE"); return CURLE_SEND_ERROR; } len = curl_msnprintf((char *)temp, sizeof(temp), "%c%c%c%c%s%c%c", @@ -1020,7 +1020,7 @@ static CURLcode suboption(struct Curl_easy *data, struct TELNET *tn) if(bad_option(tn->subopt_xdisploc)) return CURLE_BAD_FUNCTION_ARGUMENT; if(strlen(tn->subopt_xdisploc) > 1000) { - failf(data, "Tool long telnet XDISPLOC"); + failf(data, "Too long telnet XDISPLOC"); return CURLE_SEND_ERROR; } len = curl_msnprintf((char *)temp, sizeof(temp), "%c%c%c%c%s%c%c",