mirror of
https://github.com/curl/curl.git
synced 2026-06-14 22:35:41 +03:00
telnet: fix error message typos
Spotted by GitHub Code Quality Closes #21976
This commit is contained in:
parent
8b1be77c44
commit
bcb2890c6f
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue