summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index d7b4119ad..0cdaf91c0 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -209,9 +209,9 @@ public:
return true;
}
}
- log(DEBUG,"Starting forwardlookup now for host '%s'...",hostname.c_str());
- if ((resolver2.GetFD() <= 0) && (hostname != ""))
+ if (hostname != "")
{
+ log(DEBUG,"Starting forwardlookup now for host '%s'...",hostname.c_str());
resolver2.ForwardLookup(hostname);
}
}