]> git.ipfire.org Git - thirdparty/sarg.git/commit
Fix the month numbers read from a sarg log
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 12 Jan 2011 15:05:10 +0000 (15:05 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 12 Jan 2011 15:05:10 +0000 (15:05 +0000)
commitcbe0740f77270e6f2593a0540fb4f90c39864bf3
treeff39296339613e77ffa95a3d9fcac3e1f3797fdb
parent3be2705a12ad7ccdfe7a9e9b187df09a25e6f0bd
Fix the month numbers read from a sarg log

The month numbers parsed from a sarg log file name were in the range 1
to 12 but they must be in the range 0 to 11. This problem has been
fixed thanks to Denis Konchekov.

In addition, the numerical values of the days and months parsed from
the sarg log file name are more strictly validated.
CMakeLists.txt
include/info.h
util.c