commit | 41617d0c9c9832e030667277ddf6b4ffb4ecdc90 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@dreamhost.com> | Tue Feb 14 14:05:33 2012 -0600 |
committer | Alex Elder <elder@dreamhost.com> | Thu Mar 22 10:47:51 2012 -0500 |
tree | 6f943ada9195e794d84506b818ad3d8f0b9a49b9 | |
parent | 6173d1f02fb19c0fba02857ae4e1109b5ec95034 [diff] |
libceph: make ceph_tcp_connect() return int There is no real need for ceph_tcp_connect() to return the socket pointer it creates, since it already assigns it to con->sock, which is visible to the caller. Instead, have it return an error code, which tidies things up a bit. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>