aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMic Bowman2011-11-02 17:10:59 -0700
committerMic Bowman2011-11-02 17:10:59 -0700
commitd30971fdc243886b8fc614c7f869530db87e10f2 (patch)
treee0f0100959e4024475e905fffc4b9687f98f5cec /OpenSim
parentMerge branch 'master' of git://opensimulator.org/git/opensim (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs2
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 }