Eliminate a little copypasta.
This commit is contained in:
parent
dcb1233b0d
commit
d9e4ba1280
2 changed files with 59 additions and 68 deletions
|
@ -124,6 +124,7 @@ public:
|
|||
unsigned long doTimerTasks(uint64_t now);
|
||||
|
||||
private:
|
||||
bool _shouldUnite(const uint64_t now,const Address &source,const Address &destination);
|
||||
Address _sendWhoisRequest(const Address &addr,const Address *peersAlreadyConsulted,unsigned int numPeersAlreadyConsulted);
|
||||
bool _trySend(Packet &packet,bool encrypt); // packet is modified if return is true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue