diff options
Diffstat (limited to 'src/dns.cpp')
-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()); - } } } } |