From: xie xingguo Date: Thu, 31 Mar 2016 11:48:38 +0000 (+0800) Subject: rgw: fix compiling error X-Git-Tag: v10.1.1~37^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8394%2Fhead;p=ceph.git rgw: fix compiling error Signed-off-by: xie xingguo --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 3f036b1e0e3d..e4731ba0a0bc 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -2428,7 +2428,7 @@ void RGWListMultipart_ObjStore_S3::send_response() dump_time(s, "LastModified", &info.modified); 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(); }