mirror of
https://github.com/curl/curl.git
synced 2026-08-01 18:50:27 +03:00
telnet: drop an int cast no longer necessary
Spotted-by GitHub Code Quality Follow-up toc5637baa06Follow-up to83a5e39065Closes #22002
This commit is contained in:
parent
fe2df80a5a
commit
ba16b83221
1 changed files with 1 additions and 1 deletions
|
|
@ -1034,7 +1034,7 @@ static CURLcode suboption(struct Curl_easy *data, struct TELNET *tn)
|
|||
if(bad_option(v->data))
|
||||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
/* Add the variable if it fits */
|
||||
if(len + tmplen < (int)sizeof(temp) - 6) {
|
||||
if(len + tmplen < sizeof(temp) - 6) {
|
||||
const char *s = strchr(v->data, ',');
|
||||
if(!s)
|
||||
len += curl_msnprintf((char *)&temp[len], sizeof(temp) - len,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue