diff options
author | Dan Lake | 2009-10-26 13:41:20 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-26 15:14:13 -0700 |
commit | ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd (patch) | |
tree | e643df0f59af730cb631b09c2fdce6810c4c45c4 | |
parent | Do case-insensitive comparisons on region names in LLStandaloneLoginModule (diff) | |
download | opensim-SC-ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd.zip opensim-SC-ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd.tar.gz opensim-SC-ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd.tar.bz2 opensim-SC-ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd.tar.xz |
ParcelObjectOwnersReplyPacket has null DataBlock when a client requests a list of their prims in the region and none exist. Instead of leaving pack.Data null, this patch sets a new DataBlock[0];
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 6f0b177..edfb13c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -4158,6 +4158,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4158 | 4158 | ||
4159 | pack.Data = dataBlock; | 4159 | pack.Data = dataBlock; |
4160 | } | 4160 | } |
4161 | else | ||
4162 | { | ||
4163 | pack.Data = new ParcelObjectOwnersReplyPacket.DataBlock[0]; | ||
4164 | } | ||
4161 | pack.Header.Zerocoded = true; | 4165 | pack.Header.Zerocoded = true; |
4162 | this.OutPacket(pack, ThrottleOutPacketType.Task); | 4166 | this.OutPacket(pack, ThrottleOutPacketType.Task); |
4163 | } | 4167 | } |