diff options
| author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-26 23:32:03 -0400 |
|---|---|---|
| committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-26 23:32:03 -0400 |
| commit | 57bb7593059242652c57aae4391b45416dc7fa70 (patch) | |
| tree | 80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /modules/extra | |
| parent | 6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (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.cpp | 4 |
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()); } |
