projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514a873
)
don't claim the PASV connect is connected unless it *really* is!
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 10 Aug 2003 17:11:41 +0000
(17:11 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 10 Aug 2003 17:11:41 +0000
(17:11 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
52edd17
..
a79f942
100644
(file)
--- 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");
}