diff options
-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); |