]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
build: fix --disable-http-auth
authorJay Satiro <raysatiro@yahoo.com>
Thu, 4 Feb 2021 19:49:56 +0000 (14:49 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 4 Feb 2021 19:49:56 +0000 (14:49 -0500)
Broken since 215db08 (precedes 7.75.0).

Reported-by: Benbuck Nason
Fixes https://github.com/curl/curl/issues/6567

lib/http.c

index 7abba04551656b00de9a9ea7ce7041ca18fdb042..4c80bf9380d56abd0ed72e893343865169954546 100644 (file)
@@ -871,13 +871,17 @@ Curl_http_output_auth(struct Curl_easy *data,
 #else
 /* when disabled */
 CURLcode
-Curl_http_output_auth(struct connectdata *conn,
+Curl_http_output_auth(struct Curl_easy *data,
+                      struct connectdata *conn,
                       const char *request,
+                      Curl_HttpReq httpreq,
                       const char *path,
                       bool proxytunnel)
 {
+  (void)data;
   (void)conn;
   (void)request;
+  (void)httpreq;
   (void)path;
   (void)proxytunnel;
   return CURLE_OK;