Skip to content
Snippets Groups Projects
Commit c7f54764 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fixed the bug my previous change introduced

parent 381c6c5d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment