Changes codes

1) Changed debug message level
   Changes a level and format for a debugging message about 
   parallel multipart upload in curl.cpp



git-svn-id: http://s3fs.googlecode.com/svn/trunk@487 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
ggtakec@gmail.com 2013-09-26 05:00:21 +00:00
parent 3ba40a30cd
commit a6884f1c3a

View File

@ -2875,7 +2875,7 @@ int S3fsMultiCurl::MultiRead(void)
if(s3fscurl){
if(CURLE_OK == msg->data.result){
long responseCode;
long responseCode = -1;
if(s3fscurl->GetResponseCode(responseCode) && 400 > responseCode){
// add into stat cache
if(SuccessCallback && !SuccessCallback(s3fscurl)){
@ -2883,7 +2883,7 @@ int S3fsMultiCurl::MultiRead(void)
}
}else{
// This case is directory object("dir", "non dir object", "_$folder$", etc)
DPRNINFO("failed a request(%s)", s3fscurl->base_path.c_str());
DPRNNN("failed a request(%ld: %s)", responseCode, s3fscurl->base_path.c_str());
}
cMap_req.erase(hCurl);
curl_multi_remove_handle(hMulti, hCurl);