diff options
author | Mic Bowman | 2011-11-02 17:10:59 -0700 |
---|---|---|
committer | Mic Bowman | 2011-11-02 17:10:59 -0700 |
commit | d30971fdc243886b8fc614c7f869530db87e10f2 (patch) | |
tree | e0f0100959e4024475e905fffc4b9687f98f5cec /OpenSim/Services/Connectors | |
parent | Merge branch 'master' of git://opensimulator.org/git/opensim (diff) | |
download | opensim-SC-d30971fdc243886b8fc614c7f869530db87e10f2.zip opensim-SC-d30971fdc243886b8fc614c7f869530db87e10f2.tar.gz opensim-SC-d30971fdc243886b8fc614c7f869530db87e10f2.tar.bz2 opensim-SC-d30971fdc243886b8fc614c7f869530db87e10f2.tar.xz |
fix CopyTo call that was breaking under mono 2.10
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs index 30d3147..1771319 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs | |||
@@ -473,7 +473,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
473 | // Grab the asset data from the response stream | 473 | // Grab the asset data from the response stream |
474 | using (MemoryStream stream = new MemoryStream()) | 474 | using (MemoryStream stream = new MemoryStream()) |
475 | { | 475 | { |
476 | responseStream.CopyTo(stream, Int32.MaxValue); | 476 | responseStream.CopyTo(stream); |
477 | asset.Data = stream.ToArray(); | 477 | asset.Data = stream.ToArray(); |
478 | } | 478 | } |
479 | } | 479 | } |