summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);