]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
url: fix copy and paste url_match_auth_nego mistake
authorDaniel Stenberg <daniel@haxx.se>
Sat, 21 Feb 2026 17:11:41 +0000 (18:11 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 21 Feb 2026 17:37:31 +0000 (18:37 +0100)
Follow-up to 34fa034
Reported-by: dahmono on github
Closes #20662

lib/url.c

index c879a85e927a420ea90b8573fda85a867807c856..8b42aebadeccae074b5875e3c018e1f85b17c307 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -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. */