aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-02 15:34:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-02 15:34:15 +0000
commitd1cfbd51b5f6e4246cec86ce3c9b7b1cde2f860a (patch)
tree5e1fa1259498a72310c2e1257c298525850be488 /lib/ftp.c
parenta3ba6b7a6a4bf12e22e21dcdfb2359afadf45bb9 (diff)
remade the port number stuff so that following locations work and doing
intermixed HTTP and FTP persistant connections also work!
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 */