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