mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
fixed the bug my previous change introduced
This commit is contained in:
parent
381c6c5d52
commit
c7f5476416
@ -754,7 +754,7 @@ static int check_telnet_options(struct connectdata *conn)
|
||||
if(conn->bits.user_passwd)
|
||||
{
|
||||
snprintf(option_arg, sizeof(option_arg), "USER,%s", conn->user);
|
||||
tn->telnet_vars = curl_slist_append(tn->telnet_vars, buf);
|
||||
tn->telnet_vars = curl_slist_append(tn->telnet_vars, option_arg);
|
||||
|
||||
tn->us_preferred[CURL_TELOPT_NEW_ENVIRON] = CURL_YES;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user