aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDan Lake2009-10-26 13:41:20 -0700
committerJohn Hurliman2009-10-26 15:14:13 -0700
commitad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd (patch)
treee643df0f59af730cb631b09c2fdce6810c4c45c4 /OpenSim
parentDo case-insensitive comparisons on region names in LLStandaloneLoginModule (diff)
downloadopensim-SC_OLD-ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd.zip
opensim-SC_OLD-ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd.tar.gz
opensim-SC_OLD-ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd.tar.bz2
opensim-SC_OLD-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];
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
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 }