summaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/marshal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dcc/marshal.cpp')
-rw-r--r--src/modules/dcc/marshal.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/dcc/marshal.cpp b/src/modules/dcc/marshal.cpp
index 6d69dccf..0a386eec 100644
--- a/src/modules/dcc/marshal.cpp
+++ b/src/modules/dcc/marshal.cpp
@@ -88,10 +88,10 @@ void KviDccMarshal::reset()
m_fd = KVI_INVALID_SOCKET;
}
#ifdef COMPILE_SSL_SUPPORT
-// debug("MARSHAL RESETTING (SSL=%d)",m_pSSL);
+// tqDebug("MARSHAL RESETTING (SSL=%d)",m_pSSL);
if(m_pSSL)
{
-// debug("MARSHAL CLEARING THE SSL");
+// tqDebug("MARSHAL CLEARING THE SSL");
KviSSLMaster::freeSSL(m_pSSL);
m_pSSL = 0;
}
@@ -267,12 +267,12 @@ void KviDccMarshal::doListen()
if(kvi_socket_getsockname(m_fd,sareal.socketAddress(),&size))
{
-// debug("GETSOCKNAMEOK");
+// tqDebug("GETSOCKNAMEOK");
m_szPort.setNum(sareal.port());
m_uPort = sareal.port();
-// debug("REALPORT %u",m_uPort);
+// tqDebug("REALPORT %u",m_uPort);
} else {
-// debug("GETSOCKNAMEFAILED");
+// tqDebug("GETSOCKNAMEFAILED");
}
// and setup the READ notifier...
@@ -560,7 +560,7 @@ void KviDccMarshal::snActivated(int)
void KviDccMarshal::doSSLHandshake(int)
{
#ifdef COMPILE_SSL_SUPPORT
-// debug("DO SSL HANDSHAKE");
+// tqDebug("DO SSL HANDSHAKE");
if(m_pSn)
{
delete m_pSn;
@@ -569,7 +569,7 @@ void KviDccMarshal::doSSLHandshake(int)
if(!m_pSSL)
{
- debug("Ops... I've lost the SSL class ?");
+ tqDebug("Ops... I've lost the SSL class ?");
reset();
emit error(KviError_internalError);
return; // ops ?
@@ -581,9 +581,9 @@ void KviDccMarshal::doSSLHandshake(int)
{
case KviSSL::Success:
// done!
-// debug("EMITTING CONNECTED");
+// tqDebug("EMITTING CONNECTED");
emit connected();
-// debug("CONNECTED EMITTED");
+// tqDebug("CONNECTED EMITTED");
break;
case KviSSL::WantRead:
m_pSn = new TQSocketNotifier((int)m_fd,TQSocketNotifier::Read);
@@ -627,7 +627,7 @@ void KviDccMarshal::doSSLHandshake(int)
break;
}
#else //!COMPILE_SSL_SUPPORT
- debug("Ops.. ssl handshake without ssl support!...aborting!");
+ tqDebug("Ops.. ssl handshake without ssl support!...aborting!");
exit(-1);
#endif //!COMPILE_SSL_SUPPORT
}