Browse Source

Bugfix for dnslookup: irc.cpp still used old CAddress constructor

miguelfreitas
Pieter Wuille 14 years ago
parent
commit
b201c1f600
  1. 4
      src/irc.cpp

4
src/irc.cpp

@ -265,11 +265,11 @@ void ThreadIRCSeed2(void* parg)
while (!fShutdown) while (!fShutdown)
{ {
//CAddress addrConnect("216.155.130.130:6667"); // chat.freenode.net //CAddress addrConnect("216.155.130.130:6667"); // chat.freenode.net
CAddress addrConnect("92.243.23.21:6667"); // irc.lfnet.org CAddress addrConnect("92.243.23.21", 6667); // irc.lfnet.org
if (!fTOR) if (!fTOR)
{ {
//struct hostent* phostent = gethostbyname("chat.freenode.net"); //struct hostent* phostent = gethostbyname("chat.freenode.net");
CAddress addrIRC("irc.lfnet.org:6667", 0, true); CAddress addrIRC("irc.lfnet.org", 6667, true);
if (addrIRC.IsValid()) if (addrIRC.IsValid())
addrConnect = addrIRC; addrConnect = addrIRC;
} }

Loading…
Cancel
Save