Code standardtization pass. Fixed a bunch of warnings.

This commit is contained in:
Antoine Pilote
2023-03-04 17:50:02 -05:00
parent dfd8c0c57d
commit 8be7695d1e
28 changed files with 133 additions and 106 deletions

View File

@@ -12,7 +12,9 @@ namespace Nuake
{
char buff[100];
time_t now = time(0);
strftime(buff, 100, "%H:%M:%S", localtime(&now));
struct tm timeinfo;
localtime_s(&timeinfo, &now);
strftime(buff, 100, "%H:%M:%S", &timeinfo);
LogEntry newLog = {
type,