From 4f532343096aa9e753440cfaf6b634d77c2f8fc4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 12 Jun 2026 00:42:55 +0200 Subject: [PATCH] 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 ae1912cb0d494b48d514d937826c9fe83ec96c4d Closes #21979 --- lib/telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/telnet.c b/lib/telnet.c index 87398f64ee..5d9bc05039 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -780,7 +780,7 @@ static void rec_do(struct Curl_easy *data, struct TELNET *tn, int option) break; case CURL_OPPOSITE: tn->us[option] = CURL_WANTNO; - tn->himq[option] = CURL_EMPTY; + tn->usq[option] = CURL_EMPTY; send_negotiation(data, CURL_WONT, option); break; }