aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-12-22 15:04:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-12-22 15:04:59 +0000
commitbedc61ac45394eec850edfdae43a55c8586c3017 (patch)
tree8ef8bbd99f2a20cb16164224ca6125f26a0510d1 /lib/ftp.c
parent61a6992559ecf6719a077399eaf6050862bbfc6f (diff)
- Robert Foreman provided a prime example snippet showing how libcurl would
get confused and not acknowledge the 'no_proxy' variable properly once it had used the proxy and you re-used the same easy handle. I made sure the proxy name is properly stored in the connect struct rather than the sessionhandle/easy struct.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 07dcb9c76..015c5ad3f 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1668,7 +1668,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
return CURLE_FTP_WEIRD_PASV_REPLY;
}
- if(data->change.proxy && *data->change.proxy) {
+ if(data->set.proxy && *data->set.proxy) {
/*
* This is a tunnel through a http proxy and we need to connect to the
* proxy again here.