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
This commit is contained in:
Viktor Szakats 2026-06-12 00:42:55 +02:00
parent a1db90053b
commit 4f53234309
No known key found for this signature in database

View file

@ -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;
}