curl/lib
Viktor Szakats 4f53234309
telnet: fix old copy-paste typo in variable name
This code lacks tests, though we agreed it looks plausible enough to
merge it based on surrounding code. Even though this line has been
present for a long time. If you use this code, please report any results
or issues.

Reported by GitHub Code Quality

Follow-up to ae1912cb0d

Closes #21979
2026-06-12 16:03:32 +02:00
..
curlx build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
vauth tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
vquic tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
vssh tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
vtls tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
.gitignore
altsvc.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
asyn-ares.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
asyn-base.c resolve: pass bool for proxy resolves 2026-04-24 13:10:59 +02:00
asyn-thrdd.c asyn-thrdd: add IPv6 guards 2026-06-11 19:33:41 +02:00
asyn.h resolve: pass bool for proxy resolves 2026-04-24 13:10:59 +02:00
bufq.c
bufq.h tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
bufref.c
bufref.h
cf-dns.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cf-dns.h ftp: remove 2 Curl_resolv_blocking() calls 2026-05-07 14:02:13 +02:00
cf-h1-proxy.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cf-h1-proxy.h HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
cf-h2-proxy.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
cf-h2-proxy.h HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
cf-haproxy.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
cf-haproxy.h
cf-https-connect.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cf-https-connect.h
cf-ip-happy.c tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
cf-ip-happy.h cf-ip-happy: update documentation 2026-06-11 10:06:09 +02:00
cf-socket.c cf-socket: make Curl_addr2string static 2026-06-11 08:15:31 +02:00
cf-socket.h cf-socket: make Curl_addr2string static 2026-06-11 08:15:31 +02:00
cfilters.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cfilters.h tidy-up: drop redundant == NULL syntax 2026-06-09 14:37:36 +02:00
CMakeLists.txt cmake: unfold a line 2026-05-14 16:33:23 +02:00
config-mac.h
config-os400.h tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
config-riscos.h
config-win32.h
conncache.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
conncache.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
connect.c cf-socket: make Curl_addr2string static 2026-06-11 08:15:31 +02:00
connect.h cf-socket: make Curl_addr2string static 2026-06-11 08:15:31 +02:00
content_encoding.c content_encoding: fix non-last chunked rejection 2026-06-11 13:21:09 +02:00
content_encoding.h
cookie.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
cookie.h cookie: constify struct pointers 2026-05-13 17:52:49 +02:00
creds.c data creds: detect change 2026-06-01 16:42:10 +02:00
creds.h data creds: detect change 2026-06-01 16:42:10 +02:00
cshutdn.c cfilters: remove close method 2026-06-02 08:27:00 +02:00
cshutdn.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
curl_addrinfo.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
curl_addrinfo.h lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
curl_config-cmake.h.in HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
curl_ctype.h
curl_endian.c
curl_endian.h
curl_fnmatch.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
curl_fnmatch.h
curl_fopen.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_fopen.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
curl_gssapi.h
curl_hmac.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_ldap.h
curl_md4.h
curl_md5.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_memrchr.c
curl_memrchr.h
curl_ntlm_core.c src: fix comment typos 2026-05-12 17:14:38 +02:00
curl_ntlm_core.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_printf.h
curl_range.c
curl_range.h
curl_sasl.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_sasl.h
curl_setup.h AmigaOS: curl_setup.h avoid explicit_bzero with clib2 2026-06-12 14:44:10 +02:00
curl_sha256.h
curl_sha512_256.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
curl_sha512_256.h
curl_share.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
curl_share.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
curl_sspi.c
curl_sspi.h windows: update MS SDK versions in comments 2026-05-15 03:41:33 +02:00
curl_threads.c
curl_threads.h
curl_trc.c vquic: moving related things into subdir 2026-06-02 22:48:21 +02:00
curl_trc.h
cw-out.c docs: tidy-up scheme references 2026-05-19 16:55:45 +02:00
cw-out.h
cw-pause.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cw-pause.h
dict.c tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
dict.h
dllmain.c tidy-up: sort TLS backends, distros, alphabetically 2026-05-11 11:57:25 +02:00
dnscache.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
dnscache.h dnscache: remove Curl_dns_entry_link 2026-05-27 23:13:19 +02:00
doh.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
doh.h tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
dynhds.c
dynhds.h
easy.c hsts: duplicate live HSTS data in curl_easy_duphandle 2026-06-09 16:51:47 +02:00
easy_lock.h
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c
escape.h
fake_addrinfo.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
fake_addrinfo.h
file.c
file.h
fileinfo.c
fileinfo.h
formdata.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
formdata.h
ftp-int.h tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
ftp.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
ftp.h
ftplistparser.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
ftplistparser.h
functypes.h
getenv.c
getinfo.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
getinfo.h
gopher.c badwords: prefer 'workaround' (without hyphen) 2026-05-31 22:05:54 +02:00
gopher.h
hash.c
hash.h
headers.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
headers.h
hmac.c
hostip.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
hostip.h hostip: convert Curl_resolv_unix to static resolv_unix 2026-05-05 17:49:12 +02:00
hostip4.c
hostip6.c
hsts.c hsts: duplicate live HSTS data in curl_easy_duphandle 2026-06-09 16:51:47 +02:00
hsts.h hsts: duplicate live HSTS data in curl_easy_duphandle 2026-06-09 16:51:47 +02:00
http.c chunked: reject invalid bytes in trailer 2026-06-08 13:56:10 +02:00
http.h chunked: reject invalid bytes in trailer 2026-06-08 13:56:10 +02:00
http1.c
http1.h
http2.c tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
http2.h
http_aws_sigv4.c sigv4: URL encode the user name in the header 2026-06-09 13:34:27 +02:00
http_aws_sigv4.h
http_chunks.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
http_chunks.h
http_digest.c http_digest: return better error 2026-06-11 16:06:40 +02:00
http_digest.h
http_negotiate.c creds: add sasl service name 2026-05-13 14:04:17 +02:00
http_negotiate.h
http_ntlm.c creds: add sasl service name 2026-05-13 14:04:17 +02:00
http_ntlm.h
http_proxy.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
http_proxy.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
httpsrr.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
httpsrr.h tidy-up: whitespace 2026-04-27 13:34:27 +02:00
idn.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
idn.h idn: replace header guards with forward declaration 2026-05-11 17:01:34 +02:00
if2ip.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
if2ip.h badwords: prefer 'workaround' (without hyphen) 2026-05-31 22:05:54 +02:00
imap.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
imap.h
ldap.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c llist: constify struct pointers 2026-05-13 17:40:42 +02:00
llist.h llist: constify struct pointers 2026-05-13 17:40:42 +02:00
macos.c
macos.h
Makefile.am
Makefile.inc ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
Makefile.soname
md4.c gnutls: fix more nettle 4+ compatibility issues 2026-05-12 05:33:08 +02:00
md5.c tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
memdebug.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
mime.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
mime.h
mprintf.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
mqtt.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
mqtt.h
multi.c tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
multi_ev.c multi_ev: silence clang-tidy nonsense 2026-05-26 13:01:30 +02:00
multi_ev.h
multi_ntfy.c
multi_ntfy.h
multihandle.h multi: enhance pending handles fairness 2026-04-23 15:55:07 +02:00
multiif.h
netrc.c netrc: remember and check filename loaded 2026-06-08 13:53:02 +02:00
netrc.h netrc: scanner refactor 2026-05-18 15:18:09 +02:00
noproxy.c
noproxy.h
openldap.c ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
optiontable.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
parsedate.c GHA: enable -Wunused-macros in clang-tidy jobs 2026-05-16 01:17:41 +02:00
parsedate.h
peer.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
peer.h tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
pingpong.c tidy-up: drop redundant == NULL syntax 2026-06-09 14:37:36 +02:00
pingpong.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
pop3.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
pop3.h
progress.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
progress.h progress: fx CURLINFO time reporting 2026-06-07 14:39:10 +02:00
protocol.c websockets: auto-tunnel through http proxy 2026-05-20 11:50:35 +02:00
protocol.h websockets: auto-tunnel through http proxy 2026-05-20 11:50:35 +02:00
psl.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
psl.h
rand.c tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
rand.h tidy-up: miscellaneous 2026-06-09 11:07:55 +02:00
ratelimit.c
ratelimit.h
request.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
request.h auth: cleanups 2026-05-07 14:03:00 +02:00
rtsp.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
rtsp.h
select.c
select.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
sendf.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
sendf.h tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
setopt.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
sigpipe.h
slist.c
slist.h
smb.c creds: hold credentials 2026-05-12 16:05:15 +02:00
smb.h
smtp.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
smtp.h
sockaddr.h cf-socket: make Curl_addr2string static 2026-06-11 08:15:31 +02:00
socketpair.c
socketpair.h tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
socks.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
socks.h creds: add sasl service name 2026-05-13 14:04:17 +02:00
socks_gssapi.c creds: add sasl service name 2026-05-13 14:04:17 +02:00
socks_sspi.c tidy-up: prefer "initialize" with a 'z' 2026-05-15 11:49:06 +02:00
splay.c
splay.h
strcase.c
strcase.h
strequal.c
strerror.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
strerror.h
system_win32.c
system_win32.h
telnet.c telnet: fix old copy-paste typo in variable name 2026-06-12 16:03:32 +02:00
telnet.h
tftp.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
tftp.h
thrdpool.c tidy-up: rename more CURLcode variables to result 2026-05-19 16:55:45 +02:00
thrdpool.h
thrdqueue.c thrdqueue: make thrdq_await_done only for unit tests 2026-05-05 08:55:49 +02:00
thrdqueue.h thrdqueue.h: minor language polish in comments 2026-05-05 14:34:27 +02:00
transfer.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
transfer.h creds: hold credentials 2026-05-12 16:05:15 +02:00
uint-bset.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
uint-bset.h
uint-hash.c
uint-hash.h
uint-spbset.c tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
uint-spbset.h
uint-table.c
uint-table.h
url.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
url.h lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
urlapi-int.h
urlapi.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
urldata.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
version.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
ws.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
ws.h