]> git.ipfire.org Git - thirdparty/sarg.git/commit - dansguardian_log.c
Fix a sorting issue in the DansGuardian log
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 14 Sep 2011 07:35:05 +0000 (07:35 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 14 Sep 2011 07:35:05 +0000 (07:35 +0000)
commit2f1416e822b09aefd5d08a9d6b0e47d54f0cca3d
tree883f369a8abe7412f36d01ec88fd12b7083cdb2f
parentbd8b7715d96a240430635d104af816db1581845d
Fix a sorting issue in the DansGuardian log

Times with a one digit hour must be sorted before the times with two
digits. To fix this issue, a padding zero is prefixed to the hour if it
contains only one digit.

Thanks to Iain Lopata for the patch.
CMakeLists.txt
dansguardian_log.c
include/info.h