summaryrefslogtreecommitdiff
path: root/lib/altsvc.h
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2022-01-12 13:27:51 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2022-01-12 13:28:56 +0900
commit58f7e70ff869dee66c90b1323e0d5c9f324067b8 (patch)
tree31060230fe108ac26a3258e1b4fb22454c7cf01c /lib/altsvc.h
parentb31894b8fe11ff4cfe97bd63eb4e62e14893c749 (diff)
downloadcurl-58f7e70ff869dee66c90b1323e0d5c9f324067b8.tar.gz
curl-58f7e70ff869dee66c90b1323e0d5c9f324067b8.tar.bz2
curl-58f7e70ff869dee66c90b1323e0d5c9f324067b8.zip
Imported Upstream version 7.81.0upstream/7.81.0
Change-Id: Ibe8b1de1691e326fbd2a8133470758ab942cbd97
Diffstat (limited to 'lib/altsvc.h')
-rw-r--r--lib/altsvc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/altsvc.h b/lib/altsvc.h
index 1aeb625ab..2ab89e705 100644
--- a/lib/altsvc.h
+++ b/lib/altsvc.h
@@ -11,7 +11,7 @@
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at https://curl.haxx.se/docs/copyright.html.
+ * are also available at https://curl.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
@@ -23,7 +23,7 @@
***************************************************************************/
#include "curl_setup.h"
-#if !defined(CURL_DISABLE_HTTP) && defined(USE_ALTSVC)
+#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_ALTSVC)
#include <curl/curl.h>
#include "llist.h"
@@ -75,5 +75,5 @@ bool Curl_altsvc_lookup(struct altsvcinfo *asi,
/* disabled */
#define Curl_altsvc_save(a,b,c)
#define Curl_altsvc_cleanup(x)
-#endif /* CURL_DISABLE_HTTP || USE_ALTSVC */
+#endif /* !CURL_DISABLE_HTTP && !CURL_DISABLE_ALTSVC */
#endif /* HEADER_CURL_ALTSVC_H */