From: Daniel Stenberg Date: Thu, 29 Sep 2022 20:50:45 +0000 (+0200) Subject: easy: fix the altsvc init for curl_easy_duphandle X-Git-Tag: curl-7_86_0~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbdeb4c6736a6e3923765197f0f4659f9d3b44c7;p=thirdparty%2Fcurl.git easy: fix the altsvc init for curl_easy_duphandle It was using the old #ifdef which nothing sets anymore Closes #9624 --- diff --git a/lib/easy.c b/lib/easy.c index 88159f4744..93e8acc8df 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)