setopt: fix CURLOPT_HTTP_CONTENT_DECODING

Regression from 30da1f5974 (shipped in 8.11.0)

Fixes #15511
Closes #15510
This commit is contained in:
Jesus Malo Poyatos 2024-11-07 14:00:53 +01:00 committed by Daniel Stenberg
parent cadfe0de68
commit 878bc429f2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1146,7 +1146,7 @@ static CURLcode setopt_long(struct Curl_easy *data, CURLoption option,
/*
* raw data passed to the application when content encoding is used
*/
data->set.http_ce_skip = enabled;
data->set.http_ce_skip = !enabled; /* reversed */
break;
#if !defined(CURL_DISABLE_FTP) || defined(USE_SSH)