From cd146649029d2d6d2a5edd804d2e6a31e13593bc Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 20 Jul 2006 16:11:50 +0000 Subject: [PATCH] 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 --- src/dns.cpp | 3 +-- 1 file changed, 1 insertion(+), 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()); - } } } } -- 2.39.5