diff options
author | UbitUmarov | 2015-09-22 19:24:58 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-22 19:24:58 +0100 |
commit | 778793d77f2c57b1c09662a943bd37a7d7cb74e2 (patch) | |
tree | c78f185d8a2d5defb46778bfa84f902f0d8e4301 | |
parent | let minimum wqburst be a bit larger than MTU (diff) | |
download | opensim-SC-778793d77f2c57b1c09662a943bd37a7d7cb74e2.zip opensim-SC-778793d77f2c57b1c09662a943bd37a7d7cb74e2.tar.gz opensim-SC-778793d77f2c57b1c09662a943bd37a7d7cb74e2.tar.bz2 opensim-SC-778793d77f2c57b1c09662a943bd37a7d7cb74e2.tar.xz |
fix GetPacketsQueuedCount typos in last commit
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs index e005960..8b6f4b6 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | |||
@@ -351,7 +351,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
351 | public int GetPacketsQueuedCount(ThrottleOutPacketType throttleType) | 351 | public int GetPacketsQueuedCount(ThrottleOutPacketType throttleType) |
352 | { | 352 | { |
353 | int icat = (int)throttleType; | 353 | int icat = (int)throttleType; |
354 | if ((int)throttleType > 0 && icat < THROTTLE_CATEGORY_COUNT) | 354 | if (icat > 0 && icat < THROTTLE_CATEGORY_COUNT) |
355 | return m_packetOutboxes[icat].Count; | 355 | return m_packetOutboxes[icat].Count; |
356 | else | 356 | else |
357 | return 0; | 357 | return 0; |