diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-20 16:11:50 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-20 16:11:50 +0000 |
commit | cd146649029d2d6d2a5edd804d2e6a31e13593bc (patch) | |
tree | bb112a711d840667caa7830eb5e756435e203c46 /src | |
parent | 5e0d86bc0ea085f6979904cc5371ad8b97674e41 (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
Diffstat (limited to 'src')
-rw-r--r-- | src/dns.cpp | 3 |
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()); - } } } } |