Revert "fix CopyTo call that was breaking under mono 2.10"

This reverts commit d30971fdc2.
remove-scene-viewer
Melanie 2011-11-03 00:23:32 +00:00
parent 99a347ee11
commit 6b4ae4f30c
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
// Grab the asset data from the response stream
using (MemoryStream stream = new MemoryStream())
{
responseStream.CopyTo(stream);
responseStream.CopyTo(stream, Int32.MaxValue);
asset.Data = stream.ToArray();
}
}