aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
index 2a25d9c..ff28c0f 100644
--- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
+++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
@@ -110,7 +110,9 @@ namespace OpenSim.Capabilities.Handlers
110 List<InventoryCollection> invcollSet = Fetch(folders, bad_folders, ref total_folders, ref total_items); 110 List<InventoryCollection> invcollSet = Fetch(folders, bad_folders, ref total_folders, ref total_items);
111 //m_log.DebugFormat("[XXX]: Got {0} folders from a request of {1}", invcollSet.Count, folders.Count); 111 //m_log.DebugFormat("[XXX]: Got {0} folders from a request of {1}", invcollSet.Count, folders.Count);
112 112
113 int invcollSetCount = invcollSet.Count; 113 int invcollSetCount = 0;
114 if (invcollSet != null)
115 invcollSetCount = invcollSet.Count;
114 116
115 int mem = 8192 + ((256 * invcollSetCount + 117 int mem = 8192 + ((256 * invcollSetCount +
116 384 * total_folders + 118 384 * total_folders +