From be2ad79e52efb5eb543057e8e73fa601d0b91c87 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 20 Dec 2007 05:43:02 +0000 Subject: Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532 --- OpenSim/Grid/InventoryServer/GridInventoryService.cs | 12 ++++++------ OpenSim/Grid/InventoryServer/InventoryManager.cs | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'OpenSim/Grid/InventoryServer') diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index 150a262..04d4131 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs @@ -108,7 +108,7 @@ namespace OpenSim.Grid.InventoryServer { LLUUID userID = new LLUUID(rawUserID); - MainLog.Instance.Verbose("INVENTORY", "Request for inventory for " + userID.ToStringHyphenated()); + MainLog.Instance.Verbose("INVENTORY", "Request for inventory for " + userID.ToString()); InventoryCollection invCollection = new InventoryCollection(); List folders; @@ -127,7 +127,7 @@ namespace OpenSim.Grid.InventoryServer LLUUID userID = new LLUUID(rawUserID); MainLog.Instance.Verbose( - "INVENTORY", "Creating new set of inventory folders for " + userID.ToStringHyphenated()); + "INVENTORY", "Creating new set of inventory folders for " + userID.ToString()); CreateNewUserInventory(userID); return true; @@ -154,7 +154,7 @@ namespace OpenSim.Grid.InventoryServer // Right now, this actions act more like an update/insert combination than a simple create. MainLog.Instance.Verbose( "INVENTORY", - "Updating in " + folder.parentID.ToStringHyphenated() + "Updating in " + folder.parentID.ToString() + ", folder " + folder.name); AddNewInventoryFolder(folder.agentID, folder); @@ -166,7 +166,7 @@ namespace OpenSim.Grid.InventoryServer MainLog.Instance.Verbose( "INVENTORY", "Moving folder " + folder.folderID - + " to " + folder.parentID.ToStringHyphenated()); + + " to " + folder.parentID.ToString()); MoveExistingInventoryFolder(folder); return true; @@ -177,7 +177,7 @@ namespace OpenSim.Grid.InventoryServer // Right now, this actions act more like an update/insert combination than a simple create. MainLog.Instance.Verbose( "INVENTORY", - "Updating in " + item.parentFolderID.ToStringHyphenated() + "Updating in " + item.parentFolderID.ToString() + ", item " + item.inventoryName); AddNewInventoryItem(item.avatarID, item); @@ -189,7 +189,7 @@ namespace OpenSim.Grid.InventoryServer // extra spaces to align with other inventory messages MainLog.Instance.Verbose( "INVENTORY", - "Deleting in " + item.parentFolderID.ToStringHyphenated() + "Deleting in " + item.parentFolderID.ToString() + ", item " + item.inventoryName); DeleteItem(item); diff --git a/OpenSim/Grid/InventoryServer/InventoryManager.cs b/OpenSim/Grid/InventoryServer/InventoryManager.cs index f3a45c6..1070bcf 100644 --- a/OpenSim/Grid/InventoryServer/InventoryManager.cs +++ b/OpenSim/Grid/InventoryServer/InventoryManager.cs @@ -164,13 +164,13 @@ namespace OpenSim.Grid.InventoryServer private byte[] GetUserInventory(LLUUID userID) { - MainLog.Instance.Notice(OpenInventory_Main.LogName, "Getting Inventory for user {0}", userID.ToStringHyphenated()); + MainLog.Instance.Notice(OpenInventory_Main.LogName, "Getting Inventory for user {0}", userID.ToString()); byte[] result = new byte[] { }; InventoryFolderBase fb = _manager._databasePlugin.getUserRootFolder(userID); if (fb == null) { - MainLog.Instance.Notice(OpenInventory_Main.LogName, "Inventory not found for user {0}, creating new", userID.ToStringHyphenated()); + MainLog.Instance.Notice(OpenInventory_Main.LogName, "Inventory not found for user {0}, creating new", userID.ToString()); CreateDefaultInventory(userID); } -- cgit v1.1