mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 08:48:55 +00:00
Fixed a bug in check_service_req_threadworker
This commit is contained in:
parent
669cba3240
commit
6c77cd8780
@ -282,10 +282,10 @@ void* check_service_req_threadworker(S3fsCurl& s3fscurl, void* arg)
|
||||
|
||||
s3fscurl.SetUseAhbe(false);
|
||||
|
||||
if(0 == (pthparam->result = s3fscurl.CheckBucket(pthparam->path.c_str(), pthparam->support_compat_dir, pthparam->forceNoSSE))){
|
||||
*(pthparam->presponseCode) = s3fscurl.GetLastResponseCode();
|
||||
*(pthparam->presponseBody) = s3fscurl.GetBodyData();
|
||||
}
|
||||
pthparam->result = s3fscurl.CheckBucket(pthparam->path.c_str(), pthparam->support_compat_dir, pthparam->forceNoSSE);
|
||||
*(pthparam->presponseCode) = s3fscurl.GetLastResponseCode();
|
||||
*(pthparam->presponseBody) = s3fscurl.GetBodyData();
|
||||
|
||||
return reinterpret_cast<void*>(pthparam->result);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user