From 07c7b5b61b8601d4651eab1c1984684d3a2fa6ae Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 18 Jun 2008 21:09:41 +0000 Subject: more fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9922 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_namedpipe.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'win/inspircd_namedpipe.cpp') diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp index f86b70c1e..3f0f47fdf 100644 --- a/win/inspircd_namedpipe.cpp +++ b/win/inspircd_namedpipe.cpp @@ -63,7 +63,6 @@ void IPCThread::Run() std::stringstream stat; DWORD Written = 0; float kbitpersec_in, kbitpersec_out, kbitpersec_total; - char kbitpersec_in_s[30], kbitpersec_out_s[30], kbitpersec_total_s[30]; PROCESS_MEMORY_COUNTERS MemCounters; @@ -81,9 +80,9 @@ void IPCThread::Run() stat << "pid " << GetProcessId(GetCurrentProcess()) << std::endl; stat << "request " << oldrequest << std::endl; stat << "result " << this->GetResult() << std::endl; - stat << "kbitspersectotal " << kbitpersec_total_s << std::endl; - stat << "kbitspersecout " << kbitpersec_out_s << std::endl; - stat << "kbitspersecin " << kbitpersec_in_s << std::endl; + stat << "kbitspersectotal " << kbitpersec_total << std::endl; + stat << "kbitspersecout " << kbitpersec_out << std::endl; + stat << "kbitspersecin " << kbitpersec_in << std::endl; if (HaveMemoryStats) { stat << "workingset " << MemCounters.WorkingSetSize << std::endl; -- cgit v1.2.3