Edin Kadribaic's bug report #408488 forced a rearrange of two struct fields

from urldata to connectdata, quite correctly.
This commit is contained in:
Daniel Stenberg
2001-03-14 14:11:11 +00:00
parent 8c6d56f1f9
commit f8e1fc32de
5 changed files with 26 additions and 19 deletions

View File

@@ -745,7 +745,7 @@ static int check_telnet_options(struct connectdata *conn)
/* Add the user name as an environment variable if it
was given on the command line */
if(data->bits.user_passwd)
if(conn->bits.user_passwd)
{
char *buf = malloc(256);
sprintf(buf, "USER,%s", data->user);