]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dns.cpp
Comment and tidyup
[user/henk/code/inspircd.git] / src / dns.cpp
index a0e36e600b4383acefa970f3fafb1ded22dd0f0a..9d67d5c12e2b990a14db595484460bd05991bb01 100644 (file)
@@ -688,6 +688,15 @@ bool DNS::ForwardLookup(std::string host)
        return true;
 }
 
+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);