aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
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 38d9d7021..d887607ba 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1263,7 +1263,7 @@ CURLcode ftp_use_pasv(struct connectdata *conn)
* proxy again here. We already have the name info for it since the
* previous lookup.
*/
- addr = conn->hp;
+ addr = conn->hostaddr;
connectport =
(unsigned short)conn->port; /* we connect to the proxy's port */
}