From 290705f05fb84088c6da1448223cbb32d5e5b200 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:05:28 +0900 Subject: handle_valid removed from tcp_connecter_t and ipc_connecter_t Invalid handle is now specified as handle == NULL Signed-off-by: Martin Sustrik --- src/tcp_connecter.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/tcp_connecter.hpp') diff --git a/src/tcp_connecter.hpp b/src/tcp_connecter.hpp index b86c2d5..7164fa2 100644 --- a/src/tcp_connecter.hpp +++ b/src/tcp_connecter.hpp @@ -90,13 +90,10 @@ namespace xs // Underlying socket. fd_t s; - // Handle corresponding to the listening socket. + // Handle corresponding to the listening socket or NULL if the socket + // is not registered with the poller. handle_t handle; - // If true file descriptor is registered with the poller and 'handle' - // contains valid value. - bool handle_valid; - // If true, connecter is waiting a while before trying to connect. bool wait; -- cgit v1.2.3