From 9075c3fd08dfa9c4c900b4229b8f63170202cc3d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 16 Oct 2020 18:48:58 +0100 Subject: [PATCH] mantis 8781: fix --- BUILDING.md | 4 ++-- .../Avatar/Inventory/Transfer/InventoryTransferModule.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 9ad13ce5a4..0fc691f7d3 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -44,7 +44,7 @@ For rebuilding and debugging use the msbuild option switches # Configure # ## Standalone mode ## -Copy `OpenSim.ini.example` to `OpenSim.ini` in the `bin/` directory, and verify the `[Const]' section, correcting for your case. +Copy `OpenSim.ini.example` to `OpenSim.ini` in the `bin/` directory, and verify the `[Const]` section, correcting for your case. On `[Architecture]` section uncomment only the line with Standalone.ini if you do now want HG, or the line with StandaloneHypergrid.ini if you do @@ -56,7 +56,7 @@ The StandaloneCommon.ini file describes the database and backend services that O ## Grid mode ## Each grid may have its own requirements, so FOLLOW your Grid instructions! in general: -Copy `OpenSim.ini.example` to `OpenSim.ini` in the `bin/` directory, and verify the `[Const]' section, correcting for your case +Copy `OpenSim.ini.example` to `OpenSim.ini` in the `bin/` directory, and verify the `[Const]` section, correcting for your case On `[Architecture]` section uncomment only the line with Grid.ini if you do now want HG, or the line with GridHypergrid.ini if you do diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs index 14722aa2e5..5c5d51dd44 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs @@ -193,7 +193,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer if (im.binaryBucket.Length >= 34 && im.binaryBucket.Length % 17 == 0) { byte[] iddata = im.binaryBucket; - for (int i = 17; i < im.binaryBucket.Length - 17; i += 17) + for (int i = 17; i <= im.binaryBucket.Length - 17; i += 17) ids[new UUID(iddata, i + 1)] = (AssetType)im.binaryBucket[i]; }