]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix multi delete
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 12 Aug 2013 17:05:44 +0000 (10:05 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 12 Aug 2013 21:29:19 +0000 (14:29 -0700)
commit2632846e24e3c26139e982e0a569951d25e1589b
treed7d393129ee99247070ffc5812da506405a51d80
parentcb50b5a7f1ab2d4e7fdad623a0e7769000755a70
rgw: fix multi delete

Fixes: #5931
Backport: bobtail, cuttlefish

Fix a bad check, where we compare the wrong field. Instead of
comparing the ret code to 0, we compare the string value to 0
which generates implicit casting, hence the crash.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/rgw/rgw_rest_s3.cc