ConnectionExists() wrongly returned TRUE for too many connections if proxy

was not used...
This commit is contained in:
Daniel Stenberg 2001-03-23 07:46:14 +00:00
parent 997672ba9a
commit 76576cd1e2
1 changed files with 4 additions and 2 deletions

View File

@ -936,9 +936,11 @@ ConnectionExists(struct UrlData *data,
data->connects[i]=NULL; /* nothing here */ data->connects[i]=NULL; /* nothing here */
continue; /* try another one now */ continue; /* try another one now */
} }
}
*usethis = check; *usethis = check;
return TRUE; /* yes, we found one to use! */ return TRUE; /* yes, we found one to use! */
}
} }
else { /* The requested needle connection is using a proxy, else { /* The requested needle connection is using a proxy,
is the checked one using the same? */ is the checked one using the same? */