mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Use DeadlineTimer in UniqueNodeList
This commit is contained in:
@@ -401,8 +401,8 @@ void Peers::connectTo (const std::string& strIp, int iPort)
|
||||
|
||||
db->executeSQL (str (boost::format ("REPLACE INTO PeerIps (IpPort,Score,Source,ScanNext) values (%s,%d,'%c',0);")
|
||||
% sqlEscape (str (boost::format ("%s %d") % strIp % iPort))
|
||||
% getApp().getUNL ().iSourceScore (IUniqueNodeList::vsManual)
|
||||
% char (IUniqueNodeList::vsManual)));
|
||||
% getApp().getUNL ().iSourceScore (UniqueNodeList::vsManual)
|
||||
% char (UniqueNodeList::vsManual)));
|
||||
}
|
||||
|
||||
scanRefresh ();
|
||||
|
||||
Reference in New Issue
Block a user