mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-02-03 02:58:26 +00:00
Fixed miss-return code in S3fsCurl::RequestPerform
This commit is contained in:
parent
37cf324c52
commit
e8f1e3473c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user