mirror of
https://github.com/anope/anope.git
synced 2026-06-30 12:26:38 +02:00
Rewrote some of the socket code to allow m_ssl to be a service.
This allows modules (xmlrpc) to create and accept SSL connections. Also fixed unloading m_mysql at certain times and made the threading engine always work correctly on Windows.
This commit is contained in:
+1
-1
@@ -1317,7 +1317,7 @@ void Anope::Unhex(const Anope::string &src, char *dest)
|
||||
const Anope::string Anope::LastError()
|
||||
{
|
||||
#ifndef _WIN32
|
||||
return LastError();
|
||||
return strerror(errno);
|
||||
#else
|
||||
char errbuf[513];
|
||||
DWORD err = GetLastError();
|
||||
|
||||
Reference in New Issue
Block a user