fix CopyTo call that was breaking under mono 2.10
parent
a724ebacd7
commit
d30971fdc2
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue