commit | a5bc3129a296fd4663c3ef0be5575e82453739dd | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@dreamhost.com> | Mon Jan 23 15:49:27 2012 -0600 |
committer | Alex Elder <elder@dreamhost.com> | Thu Mar 22 10:47:45 2012 -0500 |
tree | 96024ed3b2cb7afef2fe860da26be030ec483e0b | |
parent | 5766651971e81298732466c9aa462ff47898ba37 [diff] |
ceph: make use of "else" where appropriate Rearrange ceph_tcp_connect() a bit, making use of "else" rather than re-testing a value with consecutive "if" statements. Don't record a connection's socket pointer unless the connect operation is successful. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>