From 69df936719c464a697986b878e6682bc97977626 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 9 Feb 2006 21:11:21 +0000 Subject: Typo in some code that should usually be #ifdef'ed out anyway, but we still want this to work sometimes, maybe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3147 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dns.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dns.cpp b/src/dns.cpp index 67c309f41..3b8f8cc95 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -833,7 +833,7 @@ void* dns_task(void* arg) DNS dns2; std::string host; std::string ip; - if (dns1.ReverseLookup((char*)inet_ntoa(dest->ip4))) + if (dns1.ReverseLookup((char*)inet_ntoa(u->ip4))) { while (!dns1.HasResult()) { @@ -849,7 +849,7 @@ void* dns_task(void* arg) usleep(100); } ip = dns2.GetResultIP(); - if (ip == std::string((char*)inet_ntoa(dest->ip4))) + if (ip == std::string((char*)inet_ntoa(u->ip4))) { if (host.length() < 160) { -- cgit v1.2.3