summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-09 21:11:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-09 21:11:21 +0000
commit69df936719c464a697986b878e6682bc97977626 (patch)
treec6647d202797448fa370ba5e60ee5c60ab4dcaad /src
parent775d36dc9ed2359c6c06d4d32604fad63e7b451a (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/dns.cpp4
1 files changed, 2 insertions, 2 deletions
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)
{