* fhandler_socket.cc (fhandler_socket::af_local_connect): Drop

setting connect_state to connect_credxchg.
	(fhandler_socket::af_local_accept): Ditto.
	(fhandler_socket::recv_internal): Drop ill-advised connect_state check.
	Add comment so as not to repeat the exercise.
	* fhandler.h (enum conn_state): Drop now unneeded connect_credxchg
	state.
This commit is contained in:
Corinna Vinschen
2014-10-26 18:47:24 +00:00
parent 1fc5d69923
commit b701da7f14
4 changed files with 21 additions and 23 deletions

View File

@ -75,11 +75,10 @@ enum dirent_states
enum conn_state
{
unconnected = 0,
connect_credxchg = 1,
connect_pending = 2,
connected = 3,
listener = 4,
connect_failed = 5
connect_pending = 1,
connected = 2,
listener = 3,
connect_failed = 4
};
enum line_edit_status