aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
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 dc638dc61..e5bb4e7be 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -462,7 +462,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(conn->data->set.passwd && *conn->data->set.passwd)
+ if(data->state.passwd && *data->state.passwd)
Curl_krb_kauth(conn);
#endif
}