summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-05-14 12:43:54 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-05-14 12:44:21 -0700
commite9935f2c907ea777221b131378d2f6911ad4caf5 (patch)
tree37df127486e8a5b35dd63c42af0620b836cbbd0b
parent67ecd75c84c5a7abea3d6b4203739668e0d1b3e3 (diff)
downloadceph-wip-rgw-bucketlog-3.tar.gz
ceph_json: fix bool decodingwip-rgw-bucketlog-3
"false" means false. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/common/ceph_json.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/ceph_json.cc b/src/common/ceph_json.cc
index 37b4ccdee7a..ad3d70846d2 100644
--- a/src/common/ceph_json.cc
+++ b/src/common/ceph_json.cc
@@ -414,7 +414,7 @@ void decode_json_obj(bool& val, JSONObj *obj)
return;
}
if (strcasecmp(s.c_str(), "false") == 0) {
- val = true;
+ val = false;
return;
}
int i;