]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
easy: fix the altsvc init for curl_easy_duphandle
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 Sep 2022 20:50:45 +0000 (22:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Sep 2022 06:20:00 +0000 (08:20 +0200)
It was using the old #ifdef which nothing sets anymore

Closes #9624

lib/easy.c

index 88159f47441f81bae5aec5f913ef6ff062f812e9..93e8acc8df9a1a8bc5d94634d8f4f660290a1926 100644 (file)
@@ -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)