fix CopyTo call that was breaking under mono 2.10

remove-scene-viewer
Mic Bowman 2011-11-02 17:10:59 -07:00
parent a724ebacd7
commit d30971fdc2
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 // Grab the asset data from the response stream
using (MemoryStream stream = new MemoryStream()) using (MemoryStream stream = new MemoryStream())
{ {
responseStream.CopyTo(stream, Int32.MaxValue); responseStream.CopyTo(stream);
asset.Data = stream.ToArray(); asset.Data = stream.ToArray();
} }
} }