diff options
Diffstat (limited to '')
-rw-r--r-- | ftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: ftp.c,v 1.8 2001/11/29 10:22:58 ukai Exp $ */ +/* $Id: ftp.c,v 1.9 2001/12/25 18:15:00 ukai Exp $ */ #include <stdio.h> #include <pwd.h> #include <Str.h> @@ -420,7 +420,7 @@ openFTP(ParsedURL *pu) if (pu->pass) pass = pu->pass; else if (pu->user) { - pwd = find_auth_cookie(pu->host, pu->user); + pwd = find_auth_cookie(pu->host, pu->port, pu->user); if (pwd == NULL) { if (fmInitialized) { term_raw(); @@ -450,7 +450,7 @@ openFTP(ParsedURL *pu) if (FtpError(s)) return NULL; if (add_auth_cookie_flag) - add_auth_cookie(pu->host, pu->user, pwd); + add_auth_cookie(pu->host, pu->port, pu->user, pwd); if (pu->file == NULL || *pu->file == '\0') goto ftp_dir; else |