From 2c97cb33c8aa3f53af8a331075a3f79e70113cea Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Thu, 31 Mar 2016 19:48:38 +0800 Subject: [PATCH] rgw: fix compiling error Signed-off-by: xie xingguo (cherry picked from commit 535eb0e608f3bf6b7c561f277e9977b91ab97b48) --- src/rgw/rgw_rest_s3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index f347d1485d07..46232f6b5ef1 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -1804,7 +1804,7 @@ void RGWListMultipart_ObjStore_S3::send_response() } s->formatter->dump_unsigned("PartNumber", info.num); - s->formatter->dump_format("ETag", "\"%s\"", info->etag.c_str()); + s->formatter->dump_format("ETag", "\"%s\"", info.etag.c_str()); s->formatter->dump_unsigned("Size", info.size); s->formatter->close_section(); } -- 2.47.3