From 5dadbd094e58ed1f6c701381175ffa35224e8aec Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 10 Aug 2003 17:11:41 +0000 Subject: [PATCH] don't claim the PASV connect is connected unless it *really* is! --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ftp.c b/lib/ftp.c index 52edd1763..a79f94277 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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"); }