aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorMelanie2009-12-23 21:20:48 +0000
committerMelanie2009-12-23 21:20:48 +0000
commitc05a35cc7168d13655f7e3a38e0e0df0f2bf1060 (patch)
tree012d2f3ad338fd1ec2e42707c558143e638e4573 /OpenSim/Region/CoreModules
parentRemove GetState. It is really unused and was reinstated by the revert (diff)
downloadopensim-SC_OLD-c05a35cc7168d13655f7e3a38e0e0df0f2bf1060.zip
opensim-SC_OLD-c05a35cc7168d13655f7e3a38e0e0df0f2bf1060.tar.gz
opensim-SC_OLD-c05a35cc7168d13655f7e3a38e0e0df0f2bf1060.tar.bz2
opensim-SC_OLD-c05a35cc7168d13655f7e3a38e0e0df0f2bf1060.tar.xz
Fix a bounds exception I came across in IAR restore
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
index b778389..304c081 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
@@ -258,6 +258,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
258 = rawDirsToCreate[i].LastIndexOf( 258 = rawDirsToCreate[i].LastIndexOf(
259 ArchiveConstants.INVENTORY_NODE_NAME_COMPONENT_SEPARATOR); 259 ArchiveConstants.INVENTORY_NODE_NAME_COMPONENT_SEPARATOR);
260 260
261 if (identicalNameIdentifierIndex < 0)
262 {
263 i++;
264 continue;
265 }
261 string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); 266 string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex);
262 267
263 newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); 268 newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName);