Open2300 - Bug Report 2010x 08x 12x 124412

BUG: Histlog.c - Incorrect starting date if the log file is not valid

The code:

{ //if no valid log we set the date to 1 Jan 1990 0:00

time_lastlog_tm.tm_year = 1990;

should read:

{ //if no valid log we set the date to 1 Jan 1990 0:00

time_lastlog_tm.tm_year = 90;

Test case

Log file is not valid

Environment

Open2300 version: 1.10
Shared libraries: mysql, postgresql
Server OS: Windows/Visual C++ 2010

-- GregRobsonGarth - 12 Aug 2010

Follow up

Fix record

BugReportForm edit

TopicTitle Histlog.c - Incorrect starting date if the log file is not valid
BugStatus New
AssignedBugTo
SubmittedBy GregRobsonGarth
Topic revision: r1 - 12 Aug 2010, GregRobsonGarth
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.