summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index e3a32a745..e8b15c9bf 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -702,11 +702,6 @@ void DNS::SetNS(const std::string &dnsserver)
DNS::~DNS()
{
- if (this->myfd > -1)
- {
- log(DEBUG,"HA! An FD tried to sneak by unnoticed - freed it.");
- dns_close(this->myfd);
- }
}
bool DNS::ReverseLookup(const std::string &ip, bool ins)