Skip to content

Commit

Permalink
Fixed a bug in check_service_req_threadworker
Browse files Browse the repository at this point in the history
  • Loading branch information
ggtakec committed Dec 14, 2024
1 parent 669cba3 commit e0e1711
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/s3fs_threadreqs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e0e1711

Please sign in to comment.