diff options
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs')
-rw-r--r-- | OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs index b05e523..ee35ae2 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs | |||
@@ -122,6 +122,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim | |||
122 | ms.Seek(0, SeekOrigin.Begin); | 122 | ms.Seek(0, SeekOrigin.Begin); |
123 | buffer = ms.GetBuffer(); | 123 | buffer = ms.GetBuffer(); |
124 | Array.Resize<byte>(ref buffer, (int) ms.Length); | 124 | Array.Resize<byte>(ref buffer, (int) ms.Length); |
125 | ms.Close(); | ||
125 | httpResponse.StatusCode = (int) HttpStatusCode.OK; | 126 | httpResponse.StatusCode = (int) HttpStatusCode.OK; |
126 | } | 127 | } |
127 | else | 128 | else |