]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_main.cc: fix parenteses and function result 12295/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sat, 3 Dec 2016 19:07:30 +0000 (20:07 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Sat, 3 Dec 2016 19:07:30 +0000 (20:07 +0100)
commit6776fab00d7dac7a816fdc0f453cf10b727e79c9
tree9c3e51a91d912c1bf0298a181484f44ea47c0c99
parentb3e2719abddc349e2df6327256c461ba9b779fcc
rgw/rgw_main.cc: fix parenteses and function result

 - The function in the macro parameter is expected to return -1 i
   on error and not type(bool).
   So reorganize the parenteses and just pass dup2() to the macro.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/rgw/rgw_main.cc