mirror of
https://github.com/znc/znc.git
synced 2026-06-23 11:32:06 +02:00
Add and use CZNCSock instead of Csock everywhere
This class will be used to implement async DNS in a later commit. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1550 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-3
@@ -116,16 +116,16 @@ typedef vector< PString > VPString;
|
||||
class CModPerl;
|
||||
static CModPerl *g_ModPerl = NULL;
|
||||
|
||||
class CPerlSock : public Csock
|
||||
class CPerlSock : public CZNCSock
|
||||
{
|
||||
public:
|
||||
CPerlSock() : Csock()
|
||||
CPerlSock() : CZNCSock()
|
||||
{
|
||||
m_iParentFD = -1;
|
||||
SetSockName(ZNCSOCK);
|
||||
}
|
||||
CPerlSock(const CS_STRING & sHost, u_short iPort, int iTimeout = 60)
|
||||
: Csock(sHost, iPort, iTimeout)
|
||||
: CZNCSock(sHost, iPort, iTimeout)
|
||||
{
|
||||
m_iParentFD = -1;
|
||||
SetSockName(ZNCSOCK);
|
||||
|
||||
Reference in New Issue
Block a user