From d1cfbd51b5f6e4246cec86ce3c9b7b1cde2f860a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 2 Mar 2001 15:34:15 +0000 Subject: remade the port number stuff so that following locations work and doing intermixed HTTP and FTP persistant connections also work! --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftp.c') 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 */ -- cgit v1.2.3