diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent/Xfer')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs b/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs index c7ee233..1b50bbd 100644 --- a/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs +++ b/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs | |||
@@ -171,7 +171,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.Xfer | |||
171 | { | 171 | { |
172 | if (Data.Length < 1000) | 172 | if (Data.Length < 1000) |
173 | { | 173 | { |
174 | // for now (testing ) we only support files under 1000 bytes | 174 | // for now (testing) we only support files under 1000 bytes |
175 | byte[] transferData = new byte[Data.Length + 4]; | 175 | byte[] transferData = new byte[Data.Length + 4]; |
176 | Array.Copy(Helpers.IntToBytes(Data.Length), 0, transferData, 0, 4); | 176 | Array.Copy(Helpers.IntToBytes(Data.Length), 0, transferData, 0, 4); |
177 | Array.Copy(Data, 0, transferData, 4, Data.Length); | 177 | Array.Copy(Data, 0, transferData, 4, Data.Length); |