aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index b8c42325f..d7f1f004f 100644
--- 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? */