summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 12:51:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 12:51:13 +0000
commitd3f0dfdf9624b14685cad521d7bffc2da315450f (patch)
treecad19a24b1b2df34c7964c7469200495b2880653 /src
parent2e816169a426511ec7c2a45b7bc7947358310b2d (diff)
Tied in DNS to SocketEngine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2333 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/dns.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 0fd8b5602..9d67d5c12 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -693,6 +693,10 @@ bool DNS::HasResult(int fd)
return (fd == this->myfd);
}
+/* Only the multithreaded dns uses this poll() based
+ * check now. As its in another thread we dont have
+ * to worry about its performance that much.
+ */
bool DNS::HasResult()
{
log(DEBUG,"DNS: HasResult, fd=%d",this->myfd);