libceph: fix handling of immediate socket connect failure
authorSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:16:16 +0000 (18:16 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:16:16 +0000 (18:16 -0700)
If the connect() call immediately fails such that sock == NULL, we
still need con_close_socket() to reset our socket state to CLOSED.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>

No differences found