From 2363cd2113261ac456e18f79e9e37622d2c7eca7 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Wed, 20 Aug 2008 15:28:51 +0000 Subject: fixing Rest/Inventory stuff again. changes somehow got lost locally. --- .../ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs') diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs index 6a0fdf2..1ea598e 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs @@ -128,9 +128,9 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory /// REST service domain prefix /// A RequestData instance suitable for this service - private RequestData Allocate(OSHttpRequest request, OSHttpResponse response) + private RequestData Allocate(OSHttpRequest request, OSHttpResponse response, string prefix) { - return (RequestData) new InventoryRequestData(request, response, qPrefix); + return (RequestData) new InventoryRequestData(request, response, prefix); } /// @@ -2168,7 +2168,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory } break; default : - Rest.Log.DebugFormat("{0} Type was not inferred", MsgId); + Rest.Log.DebugFormat("{0} Asset/Inventory type could not be inferred for {1}", + MsgId,ic.Item.Name); break; } } @@ -2177,7 +2178,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory /// If this is a TGA remember the fact if (ic.Item.AssetType == (int) AssetType.TextureTGA || - ic.Item.AssetType == (int) AssetType.ImageTGA) + ic.Item.AssetType == (int) AssetType.ImageTGA) { Bitmap temp; Stream tgadata = new MemoryStream(ic.Asset.Data); -- cgit v1.1