diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-12-22 15:04:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-12-22 15:04:59 +0000 |
commit | bedc61ac45394eec850edfdae43a55c8586c3017 (patch) | |
tree | 8ef8bbd99f2a20cb16164224ca6125f26a0510d1 /lib/ftp.c | |
parent | 61a6992559ecf6719a077399eaf6050862bbfc6f (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |