mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-15 09:36:23 -04:00
restored accounting for LAN transfer rates. See also trac ticket #60
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.4.x@1591 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c9c0e09d7d
commit
e88eaef5af
2 changed files with 1 additions and 6 deletions
|
@ -1556,11 +1556,6 @@ int pqissl::isactive()
|
||||||
return active;
|
return active;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool pqissl::bandwidthLimited()
|
|
||||||
{
|
|
||||||
return (!sameLAN);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool pqissl::moretoread()
|
bool pqissl::moretoread()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|
|
@ -120,7 +120,7 @@ virtual bool cansend();
|
||||||
|
|
||||||
virtual int close(); /* BinInterface version of reset() */
|
virtual int close(); /* BinInterface version of reset() */
|
||||||
virtual std::string gethash(); /* not used here */
|
virtual std::string gethash(); /* not used here */
|
||||||
virtual bool bandwidthLimited();
|
virtual bool bandwidthLimited() { return true ; } // replace by !sameLAN to avoid bandwidth limiting on lAN
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// A little bit of information to describe
|
// A little bit of information to describe
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue