]> git.ipfire.org Git - thirdparty/sarg.git/commit
Don't trash the period when reading multiple log files
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 28 Aug 2012 06:09:58 +0000 (08:09 +0200)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 28 Aug 2012 06:09:58 +0000 (08:09 +0200)
commitcc6af4601cff36bace15e3e1e808538b8a045920
tree208f2b2ec9a16e148b5418064668faa25139a4c4
parentd625117db489efe597edaeca0a12e550cfcff967
Don't trash the period when reading multiple log files

Reading multiple input log files overwrite the period due to the
processing made before reading a new file in readlog_sarg.c.

This fix make sure the period is as big as the total period of all the logs
read by sarg. It doesn't take into account gaps in the logs.
include/defs.h
readlog_sarg.c
util.c