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 a6e413071..a8ed78cb6 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -917,7 +917,7 @@ void* dns_task(void* arg)
}
if ((fd_ref_table[thisfd] == u) && (fd_ref_table[thisfd]))
u->dns_done = true;
- return NULL;
+ pthread_exit(0);
}
#endif