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/ipc_connecter.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/ipc_connecter.hpp') diff --git a/src/ipc_connecter.hpp b/src/ipc_connecter.hpp index 02b7382..2a8e8e4 100644 --- a/src/ipc_connecter.hpp +++ b/src/ipc_connecter.hpp @@ -93,13 +93,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