diff options
author | Melanie | 2009-10-04 05:49:16 +0100 |
---|---|---|
committer | Melanie | 2009-10-04 05:49:16 +0100 |
commit | 6878b26b0d3d9ba26b1afe097e193fb1bafbc9b6 (patch) | |
tree | 7e786c0ce436f42a60806629f3249658eab4884a /OpenSim/Framework/Capabilities/LLSD.cs | |
parent | Slightly better message with status code for WebException. (diff) | |
parent | Closing another stream. (diff) | |
download | opensim-SC_OLD-6878b26b0d3d9ba26b1afe097e193fb1bafbc9b6.zip opensim-SC_OLD-6878b26b0d3d9ba26b1afe097e193fb1bafbc9b6.tar.gz opensim-SC_OLD-6878b26b0d3d9ba26b1afe097e193fb1bafbc9b6.tar.bz2 opensim-SC_OLD-6878b26b0d3d9ba26b1afe097e193fb1bafbc9b6.tar.xz |
Merge branch 'diva-textures-osgrid'
Diffstat (limited to 'OpenSim/Framework/Capabilities/LLSD.cs')
-rw-r--r-- | OpenSim/Framework/Capabilities/LLSD.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Capabilities/LLSD.cs b/OpenSim/Framework/Capabilities/LLSD.cs index 84f43c1..eec9e61 100644 --- a/OpenSim/Framework/Capabilities/LLSD.cs +++ b/OpenSim/Framework/Capabilities/LLSD.cs | |||
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Capabilities | |||
112 | 112 | ||
113 | writer.Close(); | 113 | writer.Close(); |
114 | 114 | ||
115 | return Encoding.UTF8.GetBytes(sw.ToString()); | 115 | return Util.UTF8.GetBytes(sw.ToString()); |
116 | } | 116 | } |
117 | 117 | ||
118 | /// <summary> | 118 | /// <summary> |
@@ -329,7 +329,7 @@ namespace OpenSim.Framework.Capabilities | |||
329 | 329 | ||
330 | reader.Read(); | 330 | reader.Read(); |
331 | FromBase64Transform b64 = new FromBase64Transform(FromBase64TransformMode.IgnoreWhiteSpaces); | 331 | FromBase64Transform b64 = new FromBase64Transform(FromBase64TransformMode.IgnoreWhiteSpaces); |
332 | byte[] inp = Encoding.UTF8.GetBytes(reader.ReadString()); | 332 | byte[] inp = Util.UTF8.GetBytes(reader.ReadString()); |
333 | ret = b64.TransformFinalBlock(inp, 0, inp.Length); | 333 | ret = b64.TransformFinalBlock(inp, 0, inp.Length); |
334 | break; | 334 | break; |
335 | } | 335 | } |