Skip to content

Commit

Permalink
rgw/rgw_common.cc: modify the end check in RGWHTTPArgs::sys_get
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/16072

Signed-off-by: zhao kun <jswps2011@163.com>
  • Loading branch information
whitebajie authored and yehudasa committed May 30, 2016
1 parent 15a479f commit 7e91c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,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;
Expand Down

0 comments on commit 7e91c81

Please sign in to comment.