[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sptk-commits
Subject:    r696 - trunk/src/encryption
From:       alexey () mail ! total-knowledge ! com
Date:       2009-05-27 1:36:59
Message-ID: courier.000000004A1C993B.0000051B () mail ! total-knowledge ! com
[Download RAW message or body]

Author: alexey
Date: 2009-05-26 18:36:59 -0700 (Tue, 26 May 2009)
New Revision: 696

Modified:
   trunk/src/encryption/CEncryptedSocket.cpp
Log:
A bit more correct ctor

Modified: trunk/src/encryption/CEncryptedSocket.cpp
===================================================================
--- trunk/src/encryption/CEncryptedSocket.cpp	2009-05-26 23:18:43 UTC (rev 695)
+++ trunk/src/encryption/CEncryptedSocket.cpp	2009-05-27 01:36:59 UTC (rev 696)
@@ -40,10 +40,9 @@
 
 bool CEncryptedSocket::initialized;
 
-CEncryptedSocket::CEncryptedSocket(ADDRESS_FAMILY domain) :
-    CTCPSocket(domain)
+CEncryptedSocket::CEncryptedSocket(ADDRESS_FAMILY domain)
+: CTCPSocket(domain), m_encryption(0)
 {
-    m_encryption = NULL;
 }
 
 void CEncryptedSocket::initSession(CBaseEncryption* encryption) throw (std::exception)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic