mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-05 05:52:11 +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;
|
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