fix GetPacketsQueuedCount typos in last commit

avinationmerge
UbitUmarov 2015-09-22 19:24:58 +01:00
parent ae70f61a64
commit 778793d77f
1 changed files with 1 additions and 1 deletions

View File

@ -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;