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 468f66233..293a20e2c 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1065,7 +1065,7 @@ again:;
he = conn->hp;
#endif
connectport =
- (unsigned short)data->port; /* we connect to the proxy's port */
+ (unsigned short)conn->port; /* we connect to the proxy's port */
}
else {
/* normal, direct, ftp connection */