From 1a12f849b82ffa7d6cab5685c35700b6bda798f1 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 1 Apr 2005 22:46:06 +0000 Subject: More dns fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@945 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index d74c73ada..cf1fb7484 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -198,10 +198,8 @@ public: userrec* usr = NULL; if (resolver->HasResult()) { - log(DEBUG,"resolver says result available!"); if (resolver->GetFD() != 0) { - log(DEBUG,"Resolver FD is not 0, getting %s",u); std::string hostname = resolver->GetResult(); usr = Find(u); if (usr) @@ -264,9 +262,11 @@ void dns_poll() // are any ready, or stale? if (dnsq[0].Done() || (!dnsq[0].GetFD())) { - log(DEBUG,"****** DNS lookup for fd %d is complete. ******",dnsq[0].GetFD()); if (dnsq[0].GetFD()) - dnsq.pop_front(); + { + log(DEBUG,"****** DNS lookup for fd %d is complete. ******",dnsq[0].GetFD()); + } + dnsq.pop_front(); } } } -- cgit v1.2.3