mirror of
https://github.com/curl/curl.git
synced 2026-04-17 11:11:41 +03:00
don't claim the PASV connect is connected unless it *really* is!
This commit is contained in:
parent
514a8739b6
commit
5dadbd094e
1 changed files with 1 additions and 1 deletions
|
|
@ -2114,7 +2114,7 @@ CURLcode ftp_perform(struct connectdata *conn,
|
|||
else {
|
||||
/* We have chosen (this is default) to use the PASV command */
|
||||
result = ftp_use_pasv(conn, connected);
|
||||
if(connected)
|
||||
if(!result && *connected)
|
||||
infof(data, "Connected the data stream with PASV!\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue