summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 1da703c70..ab244a049 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -748,7 +748,7 @@ bool DNS::ForwardLookupWithFD(const std::string &host, int &fd)
fd = this->myfd;
if (this->myfd == -1)
{
-
+ return false;
}
log(DEBUG,"DNS: ForwardLookupWithFD, fd=%d",this->myfd);
if (ServerInstance && ServerInstance->SE)