From 7a7fb7167c0e96509523c378e776cf38418cd4e5 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 11 Sep 2008 00:15:39 +0000 Subject: [PATCH] Remove an unused member. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10511 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspsocket.h | 6 ------ src/inspsocket.cpp | 1 - 2 files changed, 7 deletions(-) diff --git a/include/inspsocket.h b/include/inspsocket.h index c3b24ad8f..f945c4f9d 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -139,12 +139,6 @@ class CoreExport BufferedSocket : public EventHandler */ BufferedSocketState state; - /** - * This value is true if the - * socket has timed out. - */ - bool timeout; - /** * The IP address being connected * to stored in string form for diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 1a88afaca..f3917bba0 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -504,7 +504,6 @@ void SocketTimeout::Tick(time_t) // connection. this->sock->OnTimeout(); this->sock->OnError(I_ERR_TIMEOUT); - this->sock->timeout = true; /* NOTE: We must set this AFTER DelFd, as we added * this socket whilst writeable. This means that we -- 2.39.2