From 15bb3192d4620d1f16c971df1477f18950120af6 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 11 Aug 1999 05:47:18 +0000 Subject: 1999-08-11 Thomas Bushnell, BSG * open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst". --- libftpconn/open.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libftpconn/open.c') 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 @@ -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); -- cgit v1.2.3