diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2011-05-17 17:54:06 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2011-05-17 17:54:06 +0200 |
commit | b201c1f60020763b102d259f6346305dd668c7eb (patch) | |
tree | 900fa04a8f1cd656bb6ce2022487dd8f8275230c | |
parent | 0c97aa9e141f5c23dc9f80e5fb4c8297d8a6b4dd (diff) |
Bugfix for dnslookup: irc.cpp still used old CAddress constructor
-rw-r--r-- | src/irc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc.cpp b/src/irc.cpp index 099d9e0735..5dc1d64305 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -265,11 +265,11 @@ void ThreadIRCSeed2(void* parg) while (!fShutdown) { //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) { //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()) addrConnect = addrIRC; } |