easy: fix the altsvc init for curl_easy_duphandle

It was using the old #ifdef which nothing sets anymore

Closes #9624
This commit is contained in:
Daniel Stenberg 2022-09-29 22:50:45 +02:00
parent 0a652280c9
commit bbdeb4c673
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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)