diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-07 11:17:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-07 11:17:22 +0000 |
commit | 17bdb60205e74211452967bc0e9c34faaeb33912 (patch) | |
tree | 7ee5f9968de5eebff9c237bc413655bc99d4bc3d | |
parent | 788085148bc06dac4bfaa36911a580b6e983c881 (diff) |
Fixed to do forwards properly with uninitialized data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2248 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/dnsqueue.cpp | 4 |
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); } } |