diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-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 95a8e23..758fd93 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | |||
@@ -521,7 +521,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
521 | // No dequeued packet waiting to be sent, try to pull one off | 521 | // No dequeued packet waiting to be sent, try to pull one off |
522 | // this queue | 522 | // this queue |
523 | queue = m_packetOutboxes[i]; | 523 | queue = m_packetOutboxes[i]; |
524 | if (queue.Dequeue(out packet)) | 524 | if (queue != null && queue.Dequeue(out packet)) |
525 | { | 525 | { |
526 | // A packet was pulled off the queue. See if we have | 526 | // A packet was pulled off the queue. See if we have |
527 | // enough tokens in the bucket to send it out | 527 | // enough tokens in the bucket to send it out |