From 1aa20a82372980b2b9a9854db5bf59ebb8a6a7c2 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 6 Aug 1997 22:20:38 +0000 Subject: (ftp_conn_sysify): Handle REPLY_UNIMP_CMD for "syst". --- libftpconn/open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libftpconn') diff --git a/libftpconn/open.c b/libftpconn/open.c index baa6bacb..77dda391 100644 --- a/libftpconn/open.c +++ b/libftpconn/open.c @@ -141,9 +141,9 @@ ftp_conn_sysify (struct ftp_conn *conn) error_t err = ftp_conn_cmd (conn, "syst", 0, &reply, &txt); if (! err) - if (reply == REPLY_SYSTYPE || reply == REPLY_BAD_CMD) + if (reply == REPLY_SYSTYPE || reply == REPLY_BAD_CMD || reply == REPLY_UNIMP_CMD) { - if (reply == REPLY_BAD_CMD) + if (reply == REPLY_BAD_CMD || reply == REPLY_UNIMP_CMD) txt = 0; if (conn->hooks && conn->hooks->choose_syshooks) (*conn->hooks->choose_syshooks) (conn, txt); -- cgit v1.2.3