diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-08-11 05:47:18 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-08-11 05:47:18 +0000 |
commit | 15bb3192d4620d1f16c971df1477f18950120af6 (patch) | |
tree | 3fa3e46f6e2c20902fa20eed22c8a7ea7fb4beb4 /libftpconn | |
parent | 60331ddd2abd1428f0879f6d401f85e6e4a1e69a (diff) |
1999-08-11 Thomas Bushnell, BSG <tb@mit.edu>
* open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
Diffstat (limited to 'libftpconn')
-rw-r--r-- | libftpconn/ChangeLog | 4 | ||||
-rw-r--r-- | libftpconn/open.c | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libftpconn/ChangeLog b/libftpconn/ChangeLog index 77a944dc..af267360 100644 --- a/libftpconn/ChangeLog +++ b/libftpconn/ChangeLog @@ -1,3 +1,7 @@ +1999-08-11 Thomas Bushnell, BSG <tb@mit.edu> + + * open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst". + 1998-10-20 Roland McGrath <roland@baalperazim.frob.com> * unix.c (ftp_conn_unix_cont_get_stats): Add braces to silence gcc diff --git a/libftpconn/open.c b/libftpconn/open.c index dc8421b7..c3153669 100644 --- a/libftpconn/open.c +++ b/libftpconn/open.c @@ -1,6 +1,6 @@ /* Connection initiation - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -147,9 +147,10 @@ ftp_conn_sysify (struct ftp_conn *conn) if (! err) { if (reply == REPLY_SYSTYPE || - reply == REPLY_BAD_CMD || reply == REPLY_UNIMP_CMD) + reply == REPLY_BAD_CMD || reply == REPLY_UNIMP_CMD || REPLY_NO_LOGIN) { - if (reply == REPLY_BAD_CMD || reply == REPLY_UNIMP_CMD) + if (reply == REPLY_BAD_CMD || reply == REPLY_UNIMP_CMD + || reply == REPLY_NO_LOGIN) txt = 0; if (conn->hooks && conn->hooks->choose_syshooks) (*conn->hooks->choose_syshooks) (conn, txt); |