1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 22:43:12 +02:00

Temporary fix for /os restart with m_async_commands loaded, is fixed properly in 1.9.5

This commit is contained in:
Adam
2011-04-29 18:03:04 -04:00
parent 7da33344d1
commit 036b3c9053
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -202,14 +202,14 @@ SSLSocketIO::SSLSocketIO()
int SSLSocketIO::Recv(Socket *s, char *buf, size_t sz) const
{
size_t i = SSL_read(this->sslsock, buf, sz);
int i = SSL_read(this->sslsock, buf, sz);
TotalRead += i;
return i;
}
int SSLSocketIO::Send(Socket *s, const Anope::string &buf) const
{
size_t i = SSL_write(this->sslsock, buf.c_str(), buf.length());
int i = SSL_write(this->sslsock, buf.c_str(), buf.length());
TotalWritten += i;
return i;
}