From bbdeb4c6736a6e3923765197f0f4659f9d3b44c7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Sep 2022 22:50:45 +0200 Subject: [PATCH] easy: fix the altsvc init for curl_easy_duphandle It was using the old #ifdef which nothing sets anymore Closes #9624 Conflict: NA Reference: https://github.com/curl/curl/commit/bbdeb4c6736a6e3923765197f0f4659f9d3b44c7 --- lib/easy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.33.0