aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-08-26 23:38:35 +0100
committerMelanie2010-08-26 23:38:35 +0100
commit5b4e0b72bc889dd03d3c9cd943e7ff00e2a3593c (patch)
treec1c4219e9d089434b9a80694e0c1762af5e4e553
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-5b4e0b72bc889dd03d3c9cd943e7ff00e2a3593c.zip
opensim-SC_OLD-5b4e0b72bc889dd03d3c9cd943e7ff00e2a3593c.tar.gz
opensim-SC_OLD-5b4e0b72bc889dd03d3c9cd943e7ff00e2a3593c.tar.bz2
opensim-SC_OLD-5b4e0b72bc889dd03d3c9cd943e7ff00e2a3593c.tar.xz
Send a null result search packet when no results are passsed in
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 320a2fa..17c051a 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2724,6 +2724,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2724 DirPlacesReplyPacket.StatusDataBlock[] status = 2724 DirPlacesReplyPacket.StatusDataBlock[] status =
2725 new DirPlacesReplyPacket.StatusDataBlock[0]; 2725 new DirPlacesReplyPacket.StatusDataBlock[0];
2726 2726
2727 packet.QueryReplies = replies;
2728 packet.StatusData = status;
2729
2727 foreach (DirPlacesReplyData d in data) 2730 foreach (DirPlacesReplyData d in data)
2728 { 2731 {
2729 int idx = replies.Length; 2732 int idx = replies.Length;
@@ -2762,7 +2765,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2762 } 2765 }
2763 } 2766 }
2764 2767
2765 if (replies.Length > 0) 2768 if (replies.Length > 0 || data.Length == 0)
2766 OutPacket(packet, ThrottleOutPacketType.Task); 2769 OutPacket(packet, ThrottleOutPacketType.Task);
2767 } 2770 }
2768 2771