summaryrefslogtreecommitdiff
path: root/libftpconn/open.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-06 22:20:38 +0000
committerMiles Bader <miles@gnu.org>1997-08-06 22:20:38 +0000
commit1aa20a82372980b2b9a9854db5bf59ebb8a6a7c2 (patch)
treebf7d94351cb1a0dc948805a288c538cc0b53d904 /libftpconn/open.c
parente71540fd6ce5944d5c5389f15b30212ada373ffd (diff)
(ftp_conn_sysify):
Handle REPLY_UNIMP_CMD for "syst".
Diffstat (limited to 'libftpconn/open.c')
-rw-r--r--libftpconn/open.c4
1 files changed, 2 insertions, 2 deletions
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);