mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed mixup between in/out bandwidth traffic info
This commit is contained in:
parent
b6e51b2d8c
commit
24ba909f41
@ -280,7 +280,7 @@ int p3BandwidthControl::getAllBandwidthRates(std::map<RsPeerId, RsConfigDataRate
|
||||
|
||||
}
|
||||
|
||||
int p3BandwidthControl::ExtractTrafficInfo(std::list<RSTrafficClue>& in_stats,std::list<RSTrafficClue>& out_stats)
|
||||
int p3BandwidthControl::ExtractTrafficInfo(std::list<RSTrafficClue>& out_stats, std::list<RSTrafficClue>& in_stats)
|
||||
{
|
||||
return mPg->ExtractTrafficInfo(out_stats,in_stats) ;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ class p3BandwidthControl: public p3Service, public pqiServiceMonitor
|
||||
virtual int getAllBandwidthRates(std::map<RsPeerId, RsConfigDataRates> &ratemap);
|
||||
|
||||
|
||||
virtual int ExtractTrafficInfo(std::list<RSTrafficClue> &in_stats, std::list<RSTrafficClue> &out_stats);
|
||||
virtual int ExtractTrafficInfo(std::list<RSTrafficClue> &out_stats, std::list<RSTrafficClue> &in_stats);
|
||||
|
||||
/*!
|
||||
* Interface stuff.
|
||||
|
Loading…
Reference in New Issue
Block a user