aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-04-25 21:24:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-04-25 21:24:27 +0000
commit583c2e2f092937d6f3978fb63130d0db9262d507 (patch)
tree30011b4291504dc216d3a71c710ad00d0b4851d8
parent90cce2ae3a51c1fc1c69bbcc23dd82cce84a492a (diff)
connection re-using didn't work on non-default ports when not using proxy
until now
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 013ebac70..d85c61404 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -930,7 +930,7 @@ ConnectionExists(struct UrlData *data,
if(strequal(needle->protostr, check->protostr) &&
strequal(needle->name, check->name) &&
- (needle->port == check->port) ) {
+ (needle->remote_port == check->remote_port) ) {
bool dead;
if(strequal(needle->protostr, "FTP")) {
/* This is FTP, verify that we're using the same name and