From 5ef1433e95ca388304c9eef2a4445062c7a082ae Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 31 Dec 2007 18:26:24 +0000 Subject: Correctly output library inventory folder type and version information --- OpenSim/Framework/Communications/LoginService.cs | 6 +++--- OpenSim/Framework/InventoryItemBase.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index a9d5d8b..2ac34b1 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -280,8 +280,8 @@ namespace OpenSim.Framework.UserManagement Hashtable TempHash = new Hashtable(); TempHash["name"] = folder.name; TempHash["parent_id"] = folder.parentID.ToString(); - TempHash["version"] = folder.version; - TempHash["type_default"] = folder.type; + TempHash["version"] = (Int32)folder.version; + TempHash["type_default"] = (Int32)folder.type; TempHash["folder_id"] = folder.folderID.ToString(); folderHashes.Add(TempHash); } @@ -336,4 +336,4 @@ namespace OpenSim.Framework.UserManagement } } } -} \ No newline at end of file +} diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs index c60fb01..f9903d4 100644 --- a/OpenSim/Framework/InventoryItemBase.cs +++ b/OpenSim/Framework/InventoryItemBase.cs @@ -129,7 +129,7 @@ namespace OpenSim.Framework public LLUUID folderID; /// - /// Tyep of Items normally stored in this folder + /// Type of items normally stored in this folder /// public short type; @@ -291,4 +291,4 @@ namespace OpenSim.Framework [XmlElement(ElementName = "folder", IsNullable = true)] public SerializableFolder root; } -} \ No newline at end of file +} -- cgit v1.1