mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-31 11:51:49 +00:00
Additional fix for #2276(Convert BodyData to std::string) (#2278)
This commit is contained in:
parent
2518ff3568
commit
280ed5d706
@ -4011,7 +4011,7 @@ int S3fsCurl::MultipartListRequest(std::string& body)
|
||||
}
|
||||
|
||||
int result;
|
||||
if(0 == (result = RequestPerform()) && 0 < bodydata.size()){
|
||||
if(0 == (result = RequestPerform()) && !bodydata.empty()){
|
||||
body.swap(bodydata);
|
||||
}else{
|
||||
body = "";
|
||||
|
Loading…
Reference in New Issue
Block a user