projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
997672b
)
ConnectionExists() wrongly returned TRUE for too many connections if proxy
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 23 Mar 2001 07:46:14 +0000
(07:46 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 23 Mar 2001 07:46:14 +0000
(07:46 +0000)
was not used...
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
b8c4232
..
d7f1f00
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-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? */