From 7d9882c04df987cde58f399659e2b8894a5a45f9 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Mon, 16 Feb 2009 02:27:51 +0000 Subject: [PATCH] Fix dependency on non-OpenSim version of OpenMetaverse.StructuredData.dll. --- .../Plugins/ReferenceFrontendPlugin.cs | 2 +- prebuild.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs index ffeca1a9f1..f22dc67868 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs @@ -305,7 +305,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins { try { - OSD osdata = OSDParser.DeserializeJson(httpRequest.InputStream); + OSD osdata = OSDParser.DeserializeJson(new StreamReader(httpRequest.InputStream).ReadToEnd()); if (osdata.Type == OSDType.Map) { diff --git a/prebuild.xml b/prebuild.xml index 1e704c04cc..f5f410f3ec 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -768,7 +768,7 @@ - + @@ -804,7 +804,7 @@ - + @@ -834,7 +834,7 @@ - + @@ -867,7 +867,7 @@ - +