diff options
Diffstat (limited to 'OpenSim/Framework/Statistics')
-rw-r--r-- | OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs index d3513fc..bab2764 100644 --- a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs +++ b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | |||
@@ -28,10 +28,9 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenMetaverse; | ||
32 | using OpenSim.Framework.Statistics.Interfaces; | ||
33 | 31 | ||
34 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using OpenSim.Framework.Statistics.Interfaces; | ||
35 | using OpenMetaverse.StructuredData; | 34 | using OpenMetaverse.StructuredData; |
36 | 35 | ||
37 | namespace OpenSim.Framework.Statistics | 36 | namespace OpenSim.Framework.Statistics |
@@ -421,11 +420,11 @@ Asset service request failures: {3}" + Environment.NewLine, | |||
421 | args["Memory"] = OSD.FromString(base.XReport()); | 420 | args["Memory"] = OSD.FromString(base.XReport()); |
422 | 421 | ||
423 | string strBuffer = ""; | 422 | string strBuffer = ""; |
424 | byte[] buffer = new byte[1]; | 423 | // byte[] buffer = new byte[1]; |
425 | 424 | ||
426 | strBuffer = OSDParser.SerializeJsonString(args); | 425 | strBuffer = OSDParser.SerializeJsonString(args); |
427 | UTF8Encoding str = new UTF8Encoding(); | 426 | // UTF8Encoding str = new UTF8Encoding(); |
428 | buffer = str.GetBytes(strBuffer); | 427 | // buffer = str.GetBytes(strBuffer); |
429 | 428 | ||
430 | return strBuffer; | 429 | return strBuffer; |
431 | } | 430 | } |