From be6ecb3a0726212cd7b746a0f183473673eb6936 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 4 Feb 2021 15:04:18 +0100 Subject: urldata: fix build without HTTP and MQTT Reported-by: Joseph Chen Fixes #6562 Closes #6563 --- lib/setopt.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/setopt.c') diff --git a/lib/setopt.c b/lib/setopt.c index ce73a34a7..d4a081681 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -653,8 +653,6 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param) data->set.httpauth = CURLAUTH_AWS_SIGV4; break; -#endif /* CURL_DISABLE_HTTP */ - case CURLOPT_MIMEPOST: /* * Set to make us do MIME/form POST @@ -695,7 +693,6 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param) data->set.headers = va_arg(param, struct curl_slist *); break; -#ifndef CURL_DISABLE_HTTP #ifndef CURL_DISABLE_PROXY case CURLOPT_PROXYHEADER: /* -- cgit v1.2.1