]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix compiling error 8475/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 31 Mar 2016 11:48:38 +0000 (19:48 +0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Wed, 6 Apr 2016 16:40:59 +0000 (00:40 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 535eb0e608f3bf6b7c561f277e9977b91ab97b48)

src/rgw/rgw_rest_s3.cc

index f347d1485d073ac63f929a617ade911ec4521ddc..46232f6b5ef137f6fd31205085edd62c02af061b 100644 (file)
@@ -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();
     }