url: fix copy and paste url_match_auth_nego mistake

Follow-up to 34fa034
Reported-by: dahmono on github
Closes #20662
This commit is contained in:
Daniel Stenberg 2026-02-21 18:11:41 +01:00
parent a0244c536e
commit f1a39f221d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -1217,7 +1217,7 @@ static bool url_match_auth_nego(struct connectdata *conn,
return FALSE;
}
#endif
if(m->want_ntlm_http || m->want_proxy_ntlm_http) {
if(m->want_nego_http || m->want_proxy_nego_http) {
/* Credentials are already checked, we may use this connection. We MUST
* use a connection where it has already been fully negotiated. If it has
* not, we keep on looking for a better one. */