diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-08-19 11:43:11 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-08-19 11:43:11 +0000 |
commit | 39082bb4a5783c679bef4a1a0098543563e33a73 (patch) | |
tree | f5966bf348c78e45bc9a0a83caf7224711cc5420 /lib/libfetch/ftp.c | |
parent | 134ce0f9cce257b3a932d20b2d52d026c70498c8 (diff) |
Notes
Diffstat (limited to 'lib/libfetch/ftp.c')
-rw-r--r-- | lib/libfetch/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index ffc4462f20bd..f21aac4f24f1 100644 --- a/lib/libfetch/ftp.c +++ b/lib/libfetch/ftp.c @@ -689,7 +689,7 @@ _ftp_transfer(conn_t *conn, const char *oper, const char *file, if (verbose) _fetch_info("initiating transfer"); e = _ftp_cmd(conn, "%s %s", oper, _ftp_filename(file)); - if (e != FTP_OPEN_DATA_CONNECTION) + if (e != FTP_CONNECTION_ALREADY_OPEN && e != FTP_OPEN_DATA_CONNECTION) goto ouch; /* accept the incoming connection and go to town */ |