summaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-02-04 15:04:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-02-04 23:08:07 +0100
commit457e864f5e7c8a5614a62903c57a6909a3256cb7 (patch)
tree1becce25ba8abe6d1b94cb1170e27f5f89406920 /lib/setopt.c
parente32601e13ab258a4370b46f8c5d360eab9d5ee8f (diff)
downloadcurl-457e864f5e7c8a5614a62903c57a6909a3256cb7.tar.gz
urldata: fix build without HTTP and MQTT
Reported-by: Joseph Chen Fixes #6562 Closes #6563
Diffstat (limited to 'lib/setopt.c')
-rw-r--r--lib/setopt.c3
1 files changed, 0 insertions, 3 deletions
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:
/*