summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-04 02:57:53 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-04 02:57:53 +0000
commit2feb4f5ad4a86014b744fce09fff3340d1b4fe20 (patch)
tree2f6b56ce46716d5da4336529f081749021683d07 /src/modules/extra
parent81e793231db61ca4efccda51b0d41b223e0b0a39 (diff)
Fix openssl.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7648 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index af73448c9..2f36d20ee 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -509,7 +509,7 @@ class ModuleSSLOpenSSL : public Module
if (ret > 0)
{
- if (count <= session->inbufoffset)
+ if (count > session->inbufoffset)
{
memcpy(buffer, session->inbuf, count);
// Move the stuff left in inbuf to the beginning of it