url: use URL for url even in comments

(Missed in CI due to a bug, see #20934)

Closes #20935
This commit is contained in:
Daniel Stenberg 2026-03-16 10:39:33 +01:00
parent 594a9276bc
commit 0cd0e193d3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -2746,7 +2746,7 @@ static CURLcode parse_connect_to_string(struct Curl_easy *data,
ptr++;
}
else {
/* check whether the URL's hostname matches. Use the url hostname
/* check whether the URL's hostname matches. Use the URL hostname
* when it was an IPv6 address. Otherwise use the connection's hostname
* that has IDN conversion. */
char *hostname_to_match = (data->state.up.hostname[0] == '[') ?