Fixed miss-return code in S3fsCurl::RequestPerform

This commit is contained in:
Takeshi Nakatani 2024-09-28 03:57:47 +00:00 committed by Andrew Gaul
parent 37cf324c52
commit e8f1e3473c

View File

@ -2572,7 +2572,8 @@ int S3fsCurl::RequestPerform(bool dontAddAuthHeaders /*=false*/)
}
if(CURLE_OK != curl_easy_setopt(hCurl, CURLOPT_HTTPHEADER, requestHeaders)){
return false;
S3FS_PRN_ERR("Failed to call curl_easy_setopt, returned NOT CURLE_OK.");
return -EIO;
}
// Requests