summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-20 16:11:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-20 16:11:50 +0000
commitcd146649029d2d6d2a5edd804d2e6a31e13593bc (patch)
treebb112a711d840667caa7830eb5e756435e203c46
parent5e0d86bc0ea085f6979904cc5371ad8b97674e41 (diff)
Threaded dns stuff - im going to try and make this stable in 1.1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4459 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/dns.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 50114bfd3..aaa6bf89e 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -869,10 +869,9 @@ void* dns_task(void* arg)
if (host.length() < 160)
{
if ((fd_ref_table[thisfd] == u) && (fd_ref_table[thisfd]))
- {
strcpy(u->host,host.c_str());
+ if ((fd_ref_table[thisfd] == u) && (fd_ref_table[thisfd]))
strcpy(u->dhost,host.c_str());
- }
}
}
}