From 0ed7371f3ed97bfe10c88dd128c311699ec54a30 Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 28 Sep 2009 13:27:33 +0100 Subject: Change DocToBytes to return no trailing whitespace. --- OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs b/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs index 711639f..b9a4867 100644 --- a/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs +++ b/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs @@ -425,7 +425,7 @@ namespace OpenSim.Server.Handlers.Grid doc.WriteTo(xw); xw.Flush(); - return ms.GetBuffer(); + return ms.ToArray(); } #endregion -- cgit v1.1