Skip to content

Commit 1bae40a

Browse files
committed
修复multicopy签名错误
1 parent fe59825 commit 1bae40a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/curl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3221,13 +3221,13 @@ int S3fsCurl::CopyMultipartPostRequest(const char* from, const char* to, int par
32213221
if(!CreateCurlHandle(true)){
32223222
return -1;
32233223
}
3224-
string urlargs = "?partNumber=" + str(part_num) + "&uploadId=" + upload_id;
3224+
string urlargs = "partNumber=" + str(part_num) + "&uploadId=" + upload_id;
32253225
string resource;
32263226
string turl;
32273227
string host;
32283228
MakeUrlResource(get_realpath(to).c_str(), resource, turl);
32293229

3230-
turl += urlargs;
3230+
turl += "?" + urlargs;
32313231
url = prepare_url(turl.c_str(), host);
32323232
path = get_realpath(to);
32333233
requestHeaders = NULL;

0 commit comments

Comments
 (0)