From a6884f1c3a95f263b748f36977e325d1c32a0063 Mon Sep 17 00:00:00 2001 From: "ggtakec@gmail.com" Date: Thu, 26 Sep 2013 05:00:21 +0000 Subject: [PATCH] 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 --- src/curl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/curl.cpp b/src/curl.cpp index a2e7947..f8ea504 100644 --- a/src/curl.cpp +++ b/src/curl.cpp @@ -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);