aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 0237de93e..d2c93261f 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -169,7 +169,6 @@ void dns_close(int fd)
if (fd == lastcreate)
{
wantclose = 1;
- return;
}
shutdown(fd,2);
close(fd);