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
This commit is contained in:
psychon
2009-09-10 06:30:34 +00:00
parent 0104d3c5dc
commit 2137d5a7cf

View File

@@ -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;