diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-07-19 23:56:33 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-07-19 23:56:33 +0000 |
commit | 52b631fadecb5ff5f038badfd79055e7d4272927 (patch) | |
tree | 27e4b5c01914b8fab19f458b124fffe8455211b2 /lib/ftp.c | |
parent | 2f0bc9d1f74236bec433d0681f9893db6f22694e (diff) |
Access the user and passwd fields from the connectdata struct now instead
of the sessionhandle struct, as that was not good.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -409,9 +409,9 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) /* get some initial data into the ftp struct */ ftp->bytecountp = &conn->bytecount; - /* no need to duplicate them, the data struct won't change */ - ftp->user = data->state.user; - ftp->passwd = data->state.passwd; + /* no need to duplicate them, this connectdata struct won't change */ + ftp->user = conn->user; + ftp->passwd = conn->passwd; ftp->response_time = 3600; /* set default response time-out */ if (data->set.tunnel_thru_httpproxy) { |