aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs')
-rw-r--r--OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs
index 7283237..0288fa6 100644
--- a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs
+++ b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs
@@ -191,18 +191,7 @@ namespace OpenSim.Server.Handlers.Asset
191 191
192 rootElement.AppendChild(result); 192 rootElement.AppendChild(result);
193 193
194 return DocToBytes(doc); 194 return Util.DocToBytes(doc);
195 }
196
197 private byte[] DocToBytes(XmlDocument doc)
198 {
199 MemoryStream ms = new MemoryStream();
200 XmlTextWriter xw = new XmlTextWriter(ms, null);
201 xw.Formatting = Formatting.Indented;
202 doc.WriteTo(xw);
203 xw.Flush();
204
205 return ms.ToArray();
206 } 195 }
207 196
208 byte[] HandleCreateUserInventory(Dictionary<string,object> request) 197 byte[] HandleCreateUserInventory(Dictionary<string,object> request)