]> granicus.if.org Git - curl/commitdiff
fixed the bug my previous change introduced
authorDaniel Stenberg <daniel@haxx.se>
Sun, 19 Oct 2003 05:42:49 +0000 (05:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 19 Oct 2003 05:42:49 +0000 (05:42 +0000)
lib/telnet.c

index 90f96d1ff4b2628c751605b27e56e0b655eb5504..a4d189a473c644886107ca1344eee00e35497647 100644 (file)
@@ -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;
   }