diff options
author | Melanie | 2011-11-03 00:23:32 +0000 |
---|---|---|
committer | Melanie | 2011-11-03 00:23:32 +0000 |
commit | 6b4ae4f30c2091f5f6fa99dfc904cfdd42a266ea (patch) | |
tree | 3eb405e222426a8d51dd9274275673ef34780a48 | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-6b4ae4f30c2091f5f6fa99dfc904cfdd42a266ea.zip opensim-SC-6b4ae4f30c2091f5f6fa99dfc904cfdd42a266ea.tar.gz opensim-SC-6b4ae4f30c2091f5f6fa99dfc904cfdd42a266ea.tar.bz2 opensim-SC-6b4ae4f30c2091f5f6fa99dfc904cfdd42a266ea.tar.xz |
Revert "fix CopyTo call that was breaking under mono 2.10"
This reverts commit d30971fdc243886b8fc614c7f869530db87e10f2.
-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 1771319..30d3147 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); | 476 | responseStream.CopyTo(stream, Int32.MaxValue); |
477 | asset.Data = stream.ToArray(); | 477 | asset.Data = stream.ToArray(); |
478 | } | 478 | } |
479 | } | 479 | } |