aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Statistics
diff options
context:
space:
mode:
authorDr Scofield2009-04-22 09:42:44 +0000
committerDr Scofield2009-04-22 09:42:44 +0000
commit458f7eb9b38609d02980afe5a6ee88d19c7dd7f8 (patch)
treeb8d2b6c140ca373ca5604f7087541f74185ac77c /OpenSim/Framework/Statistics
parent* update example to reflect optional Well known hostname. (diff)
downloadopensim-SC_OLD-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.zip
opensim-SC_OLD-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.tar.gz
opensim-SC_OLD-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.tar.bz2
opensim-SC_OLD-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.tar.xz
cleaning up, fixing warnings
Diffstat (limited to 'OpenSim/Framework/Statistics')
-rw-r--r--OpenSim/Framework/Statistics/SimExtraStatsCollector.cs9
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 @@
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Text; 30using System.Text;
31using OpenMetaverse;
32using OpenSim.Framework.Statistics.Interfaces;
33 31
34using OpenMetaverse; 32using OpenMetaverse;
33using OpenSim.Framework.Statistics.Interfaces;
35using OpenMetaverse.StructuredData; 34using OpenMetaverse.StructuredData;
36 35
37namespace OpenSim.Framework.Statistics 36namespace 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 }