aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Capabilities/LLSDStreamHandler.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/LLSDStreamHandler.cs b/OpenSim/Capabilities/LLSDStreamHandler.cs
index 4fa1153..4f1b10a 100644
--- a/OpenSim/Capabilities/LLSDStreamHandler.cs
+++ b/OpenSim/Capabilities/LLSDStreamHandler.cs
@@ -61,6 +61,9 @@ namespace OpenSim.Framework.Capabilities
61 // OpenMetaverse.StructuredData.LLSDParser.DeserializeXml(new XmlTextReader(request)); 61 // OpenMetaverse.StructuredData.LLSDParser.DeserializeXml(new XmlTextReader(request));
62 62
63 Hashtable hash = (Hashtable) LLSD.LLSDDeserialize(request); 63 Hashtable hash = (Hashtable) LLSD.LLSDDeserialize(request);
64 if(hash == null)
65 return new byte[0];
66
64 TRequest llsdRequest = new TRequest(); 67 TRequest llsdRequest = new TRequest();
65 LLSDHelpers.DeserialiseOSDMap(hash, llsdRequest); 68 LLSDHelpers.DeserialiseOSDMap(hash, llsdRequest);
66 69