summaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-09-29 22:50:45 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-09-30 08:20:00 +0200
commitbbdeb4c6736a6e3923765197f0f4659f9d3b44c7 (patch)
treecaa3d023c6b67241af383a2b916188419d95f363 /lib/easy.c
parent0a652280c92bd23fc4d0e31cfaeada1ba113510b (diff)
downloadcurl-bbdeb4c6736a6e3923765197f0f4659f9d3b44c7.tar.gz
easy: fix the altsvc init for curl_easy_duphandle
It was using the old #ifdef which nothing sets anymore Closes #9624
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 88159f474..93e8acc8d 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -944,7 +944,7 @@ struct Curl_easy *curl_easy_duphandle(struct Curl_easy *data)
goto fail;
}
-#ifdef USE_ALTSVC
+#ifndef CURL_DISABLE_ALTSVC
if(data->asi) {
outcurl->asi = Curl_altsvc_init();
if(!outcurl->asi)