aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-21 09:19:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-21 09:19:48 +0000
commit56014e74a0fd6ed349370af1c0448a0013fa8bf4 (patch)
tree3acb55c24b171f712e14cb676d50b66ff38c4829 /lib/ftp.c
parent172271498dcbfbb8897f285d9c9c54af6d06bb5a (diff)
krb4-fixes for the moved user+password fields within the structs
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 2f395eff0..c57b42d11 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -512,7 +512,7 @@ CURLcode Curl_ftp_connect(struct connectdata *conn)
/* we may need to issue a KAUTH here to have access to the files
* do it if user supplied a password
*/
- if(data->state.passwd && *data->state.passwd) {
+ if(conn->passwd && *conn->passwd) {
result = Curl_krb_kauth(conn);
if(result)
return result;