]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_rest_s3.cc: reorder checks in while loop
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 21 Feb 2017 14:28:46 +0000 (15:28 +0100)
committerKefu Chai <kchai@redhat.com>
Mon, 10 Apr 2017 10:16:17 +0000 (18:16 +0800)
commit78ce269780859632bc1ba4a5118a07f3f014b21f
tree431b682478fc09aa177981e85da0b68c5c5d086e
parent372727789d22f35c0f54458701e76ec6e1c556f7
rgw_rest_s3.cc: reorder checks in while loop

Fix for:

[src/rgw/rgw_rest_s3.cc:1224]: (style) Array index 'chunk_offset'
 is used before limits check.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_rest_s3.cc