mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
moved getCurrentTS() inside RTT packet sending loop (suggestion from Jo)
This commit is contained in:
parent
e25787bcd5
commit
c473200625
@ -190,8 +190,6 @@ void p3rtt::sendPingMeasurements()
|
||||
|
||||
mServiceCtrl->getPeersConnected(getServiceInfo().mServiceType, idList);
|
||||
|
||||
double ts = getCurrentTS();
|
||||
|
||||
#ifdef DEBUG_RTT
|
||||
std::cerr << "p3rtt::sendPingMeasurements() @ts: " << ts;
|
||||
std::cerr << std::endl;
|
||||
@ -205,7 +203,8 @@ void p3rtt::sendPingMeasurements()
|
||||
std::cerr << "p3rtt::sendPingMeasurements() Pinging: " << *it;
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
double ts = getCurrentTS();
|
||||
|
||||
/* create the packet */
|
||||
RsRttPingItem *pingPkt = new RsRttPingItem();
|
||||
pingPkt->PeerId(*it);
|
||||
|
Loading…
x
Reference in New Issue
Block a user