Fixed a bug in check_service_req_threadworker

This commit is contained in:
Takeshi Nakatani 2024-12-14 07:37:04 +00:00 committed by Andrew Gaul
parent 669cba3240
commit 6c77cd8780

View File

@ -282,10 +282,10 @@ void* check_service_req_threadworker(S3fsCurl& s3fscurl, void* arg)
s3fscurl.SetUseAhbe(false); s3fscurl.SetUseAhbe(false);
if(0 == (pthparam->result = s3fscurl.CheckBucket(pthparam->path.c_str(), pthparam->support_compat_dir, pthparam->forceNoSSE))){ pthparam->result = s3fscurl.CheckBucket(pthparam->path.c_str(), pthparam->support_compat_dir, pthparam->forceNoSSE);
*(pthparam->presponseCode) = s3fscurl.GetLastResponseCode(); *(pthparam->presponseCode) = s3fscurl.GetLastResponseCode();
*(pthparam->presponseBody) = s3fscurl.GetBodyData(); *(pthparam->presponseBody) = s3fscurl.GetBodyData();
}
return reinterpret_cast<void*>(pthparam->result); return reinterpret_cast<void*>(pthparam->result);
} }