mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
fix: 4.0.0 bookkeeping of protocol overhead when receiving peer messages (#5091)
This commit is contained in:
parent
e9eb70b50f
commit
1a276fb145
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ void tr_peerIo::can_read_wrapper()
|
|||
|
||||
if (overhead > 0)
|
||||
{
|
||||
bandwidth().notifyBandwidthConsumed(TR_UP, overhead, false, now);
|
||||
bandwidth().notifyBandwidthConsumed(TR_DOWN, overhead, false, now);
|
||||
}
|
||||
|
||||
switch (read_state)
|
||||
|
|
Loading…
Reference in a new issue