diff options
author | Adam <Adam@anope.org> | 2011-04-26 19:13:51 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:08:47 -0400 |
commit | e7887c1f013248274574ab8e3167f742ccb3d69b (patch) | |
tree | f9f5959512b7129711f03156320ae0e46cabaec3 /src/dns.cpp | |
parent | 076ebafa1b4cc935c466c615b94eaac415af9a67 (diff) |
Unmodularized the socket engine because its causing problems and really is unnecessary
Diffstat (limited to 'src/dns.cpp')
-rw-r--r-- | src/dns.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index 45b3db6bd..7475545c0 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -69,7 +69,7 @@ void DNSRequest::Process() DNSEngine->requests[this->id] = this; DNSEngine->packets.push_back(p); - SocketEngine->MarkWritable(DNSEngine->sock); + SocketEngine::MarkWritable(DNSEngine->sock); this->timeout = new DNSRequestTimeout(this, Config->DNSTimeout); } @@ -512,7 +512,8 @@ bool DNSSocket::ProcessWrite() delete r; DNSEngine->packets.erase(DNSEngine->packets.begin() + i - 1); } - SocketEngine->ClearWritable(this); + + SocketEngine::ClearWritable(this); return cont; } |