diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-03-23 07:46:14 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-23 07:46:14 +0000 |
commit | 76576cd1e28ad07f098de464f6da1c93e262f652 (patch) | |
tree | 6eb5b445cd661c0acb1a4d88032772543182b91c | |
parent | 997672ba9acc8b92747403d9b6783beadb2e264e (diff) |
ConnectionExists() wrongly returned TRUE for too many connections if proxy
was not used...
-rw-r--r-- | lib/url.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -936,9 +936,11 @@ ConnectionExists(struct UrlData *data, data->connects[i]=NULL; /* nothing here */ continue; /* try another one now */ } + + *usethis = check; + return TRUE; /* yes, we found one to use! */ + } - *usethis = check; - return TRUE; /* yes, we found one to use! */ } else { /* The requested needle connection is using a proxy, is the checked one using the same? */ |