summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 22:00:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 22:00:48 +0000
commitd0810dfaba6f160336d18ff0073e0065b35b59e3 (patch)
tree3b6559ed84aa75eb740699610ed27914e4bc0881 /src/modules/extra
parentc922c2a2761fd1dc81d98ef313b48f4aa0d1873b (diff)
Removal of debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5133 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp4
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp6
2 files changed, 3 insertions, 7 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 0e70082e3..b9bc835d5 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -306,9 +306,7 @@ class ModuleSSLGnuTLS : public Module
CloseSession(session);
return 1;
}
-
- ServerInstance->Log(DEBUG, "m_ssl_gnutls.so: OnRawSocketRead(%d, buffer, %u, %d)", fd, count, readresult);
-
+
if (session->status == ISSL_HANDSHAKING_READ)
{
// The handshake isn't finished, try to finish it.
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 12d67fcfa..5711891d7 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -330,7 +330,7 @@ class ModuleSSLOpenSSL : public Module
user->Shrink("ssl_cert");
}
}
-
+
virtual int OnRawSocketRead(int fd, char* buffer, unsigned int count, int &readresult)
{
issl_session* session = &sessions[fd];
@@ -343,8 +343,6 @@ class ModuleSSLOpenSSL : public Module
return 1;
}
- ServerInstance->Log(DEBUG, "m_ssl_openssl.so: OnRawSocketRead(%d, buffer, %u, %d)", fd, count, readresult);
-
if(session->status == ISSL_HANDSHAKING)
{
if(session->rstat == ISSL_READ || session->wstat == ISSL_READ)
@@ -368,7 +366,7 @@ class ModuleSSLOpenSSL : public Module
return -1;
}
}
-
+
// If we resumed the handshake then session->status will be ISSL_OPEN
if(session->status == ISSL_OPEN)