From 778793d77f2c57b1c09662a943bd37a7d7cb74e2 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 22 Sep 2015 19:24:58 +0100 Subject: fix GetPacketsQueuedCount typos in last commit --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 public int GetPacketsQueuedCount(ThrottleOutPacketType throttleType) { int icat = (int)throttleType; - if ((int)throttleType > 0 && icat < THROTTLE_CATEGORY_COUNT) + if (icat > 0 && icat < THROTTLE_CATEGORY_COUNT) return m_packetOutboxes[icat].Count; else return 0; -- cgit v1.1