Skip to content

Commit

Permalink
fix csv export
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzz committed Jan 3, 2018
1 parent c22e29d commit 0b622e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CheckHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private void WriteLogHead()
m_log.Write(System.DateTime.Now.ToShortDateString() + ";" +
System.DateTime.Now.ToLongTimeString() + ";");
m_log.Write(Resources.StartMessage + ";");
m_log.WriteLine(0 + ";" + 0 + ";" + 0 + ";" + 0);
m_log.WriteLine(0 + ";" + 0 + ";" + 0 + ";" + 0 + ";Startup");
m_log.Flush();
}

Expand All @@ -109,8 +109,8 @@ private void WriteLogResults(bool IsSuccess, long Time, long TotalTimeUp, long T
System.DateTime.Now.ToLongTimeString() + ";");
if (IsSuccess == true) m_log.Write(Resources.OK + ";");
else m_log.Write(Resources.NoCon + ";");
m_log.WriteLine(percent + ";" + ts.Days + ";" + ts.Hours + ";" + ts.Minutes);
m_log.WriteLine(";" + response);
m_log.WriteLine(percent + ";" + ts.Days + ";" + ts.Hours + ";" + ts.Minutes + ";" + (int)response);
m_log.WriteLine();
m_log.Flush();
}

Expand Down

0 comments on commit 0b622e8

Please sign in to comment.