summaryrefslogtreecommitdiff
path: root/modules/extra
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
commit57bb7593059242652c57aae4391b45416dc7fa70 (patch)
tree80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /modules/extra
parent6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (diff)
Trying to make things a little more const-safe, a work in progress but this is a bit better.
Diffstat (limited to 'modules/extra')
-rw-r--r--modules/extra/m_ssl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_ssl.cpp b/modules/extra/m_ssl.cpp
index 386dd0d5f..ea1c3e4fb 100644
--- a/modules/extra/m_ssl.cpp
+++ b/modules/extra/m_ssl.cpp
@@ -19,12 +19,12 @@ class SSLSocket : public ClientSocket
private:
SSL *sslsock;
- const int RecvInternal(char *buf, size_t sz) const
+ int RecvInternal(char *buf, size_t sz) const
{
return SSL_read(sslsock, buf, sz);
}
- const int SendInternal(const Anope::string &buf) const
+ int SendInternal(const Anope::string &buf) const
{
return SSL_write(sslsock, buf.c_str(), buf.length());
}