diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-08-22 09:22:50 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-08-22 09:22:50 +0000 |
| commit | eabfae4914ceb0b158cb15eb4baa1efceb86d405 (patch) | |
| tree | 754f2f8345866f4815cd4b8fb5828a72b9cfaa14 /lib/libfetch | |
| parent | 48ef3b1d83c7790cc167edbfb56d39a34401bd5e (diff) | |
Notes
Diffstat (limited to 'lib/libfetch')
| -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 91940d3af22b..2b13169c0543 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 */ |
