aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs
index bfb3f6e..98b613e 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs
@@ -53,15 +53,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
53 return (m_currentBitsSent < (m_currentThrottle/m_throttleTimeDivisor)); 53 return (m_currentBitsSent < (m_currentThrottle/m_throttleTimeDivisor));
54 } 54 }
55 55
56 public int AddBits(int bits) 56// public int AddBits(int bits)
57 { 57// {
58 m_currentBitsSent += bits; 58// m_currentBitsSent += bits;
59 return m_currentBitsSent; 59// return m_currentBitsSent;
60 } 60// }
61 61
62 public int AddBytes(int bytes) 62 public int AddBytes(int bytes)
63 { 63 {
64 m_currentBitsSent += bytes * 8; 64 // XXX: Temporarily treat bytes as bits. This is a temporary revert of r6714 until other underlying issues
65 // are addressed.
66 m_currentBitsSent += bytes;
65 return m_currentBitsSent; 67 return m_currentBitsSent;
66 } 68 }
67 69