diff options
author | Justin Clarke Casey | 2008-12-17 17:18:52 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-17 17:18:52 +0000 |
commit | 72ff5322f5e0aa687a624ca726a0f4b613e51923 (patch) | |
tree | 1498d1af96da1e2dee3ab37db872bad03f4c66b6 /OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | |
parent | Mantis #2850 (diff) | |
download | opensim-SC_OLD-72ff5322f5e0aa687a624ca726a0f4b613e51923.zip opensim-SC_OLD-72ff5322f5e0aa687a624ca726a0f4b613e51923.tar.gz opensim-SC_OLD-72ff5322f5e0aa687a624ca726a0f4b613e51923.tar.bz2 opensim-SC_OLD-72ff5322f5e0aa687a624ca726a0f4b613e51923.tar.xz |
* Replace manually zeroing with Array.Clear(). Thanks cmickeyb
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs index a8785a6..3ce71dc 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | |||
@@ -331,10 +331,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
331 | // loop, since each pass through the loop checks the queue length, we no longer | 331 | // loop, since each pass through the loop checks the queue length, we no longer |
332 | // need the check on entering the loop | 332 | // need the check on entering the loop |
333 | bool qchanged = true; | 333 | bool qchanged = true; |
334 | |||
334 | ResetCounters(); | 335 | ResetCounters(); |
335 | // m_log.Info("[THROTTLE]: Entering Throttle"); | 336 | // m_log.Info("[THROTTLE]: Entering Throttle"); |
336 | while (TotalThrottle.UnderLimit() && qchanged && | 337 | while (TotalThrottle.UnderLimit() && qchanged && throttleLoops <= MaxThrottleLoops) |
337 | (throttleLoops <= MaxThrottleLoops)) | ||
338 | { | 338 | { |
339 | qchanged = false; // We will break out of the loop if no work was accomplished | 339 | qchanged = false; // We will break out of the loop if no work was accomplished |
340 | 340 | ||