mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
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:
parent
0a652280c9
commit
bbdeb4c673
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user