don't claim the PASV connect is connected unless it *really* is!

This commit is contained in:
Daniel Stenberg 2003-08-10 17:11:41 +00:00
parent 514a8739b6
commit 5dadbd094e
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}