diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-10-19 05:42:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-10-19 05:42:49 +0000 |
commit | c7f54764163fe9e3ba042b179e6398ccdc8e34ad (patch) | |
tree | 2548ce3867d2c80e59bca004fa51777a2eeeb583 /lib/telnet.c | |
parent | 381c6c5d520a3250a0385f7f76e872e779d7aaac (diff) | |
download | curl-c7f54764163fe9e3ba042b179e6398ccdc8e34ad.tar.gz |
fixed the bug my previous change introduced
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 90f96d1ff..a4d189a47 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -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; } |