diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-08-11 15:43:16 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-08-11 15:43:16 +0000 |
commit | b3ff5413cc9e383af97fd3dfd41f8a323740e092 (patch) | |
tree | b8faa3283ec3a58a8c2250e66ef4f1c010932723 /libftpconn/open.c | |
parent | 15bb3192d4620d1f16c971df1477f18950120af6 (diff) |
1999-08-11 Thomas Bushnell, BSG <tb@mit.edu>
* open.c (ftp_conn_open): Ignore error from ftp_conn_sysify;
it's ok if we can't successfully deal. If we didn't sysify
successfully before login, then try again afterwards.
Diffstat (limited to 'libftpconn/open.c')
-rw-r--r-- | libftpconn/open.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libftpconn/open.c b/libftpconn/open.c index c3153669..d8a0a09a 100644 --- a/libftpconn/open.c +++ b/libftpconn/open.c @@ -216,12 +216,16 @@ ftp_conn_open (struct ftp_conn *conn) if (! err) /* Make any machine-dependent customizations. */ - err = ftp_conn_sysify (conn); + ftp_conn_sysify (conn); if (! err) /* login */ err = ftp_conn_login (conn); + if (!err && !conn->syshooks_valid) + /* Try again now. */ + ftp_conn_sysify (conn); + if (!err && conn->type) /* Set the connection type. */ { |