From 2137d5a7cf3df5e080194e8114668ef5d4fff2c8 Mon Sep 17 00:00:00 2001 From: psychon Date: Thu, 10 Sep 2009 06:30:34 +0000 Subject: [PATCH] Update to latest Csocket This fixes a minor bug where a socket's timeout mode was changed when it was copied to another socket. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1621 726aef4b-f618-498e-8847-2d620e286838 --- Csocket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Csocket.cpp b/Csocket.cpp index a2fcc280..6aa741ac 100644 --- a/Csocket.cpp +++ b/Csocket.cpp @@ -28,7 +28,7 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * -* $Revision: 1.104 $ +* $Revision: 1.105 $ */ #include "Csocket.h" @@ -574,7 +574,7 @@ void Csock::Copy( const Csock & cCopy ) m_iLocalPort = cCopy.m_iLocalPort; m_iReadSock = cCopy.m_iReadSock; m_iWriteSock = cCopy.m_iWriteSock; - m_itimeout = cCopy.m_iWriteSock; + m_itimeout = cCopy.m_itimeout; m_iConnType = cCopy.m_iConnType; m_iMethod = cCopy.m_iMethod; m_bssl = cCopy.m_bssl;