From: zhaokun Date: Mon, 16 May 2016 01:30:48 +0000 (+0800) Subject: rgw/rgw_common.cc: modify the end check in RGWHTTPArgs::sys_get X-Git-Tag: ses5-milestone5~571^2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a25675e30e94750ce0ce30ddbcc061ed67aac9ae;p=ceph.git rgw/rgw_common.cc: modify the end check in RGWHTTPArgs::sys_get Signed-off-by: zhao kun --- diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index d597339a7e70f..d4de8c8dceb30 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -850,7 +850,7 @@ void RGWHTTPArgs::get_bool(const char *name, bool *val, bool def_val) string RGWHTTPArgs::sys_get(const string& name, bool * const exists) { const auto iter = sys_val_map.find(name); - const bool e = (iter != val_map.end()); + const bool e = (iter != sys_val_map.end()); if (exists) { *exists = e;