]> git.ipfire.org Git - thirdparty/sarg.git/commit - splitlog.c
Don't use strcmp to check strings one or zero characters long
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 21 Aug 2012 19:02:33 +0000 (21:02 +0200)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 21 Aug 2012 19:02:33 +0000 (21:02 +0200)
commit81a022d84b782670df4a4be56ee25ffcfbdd6ea8
treedcd3e90ded365cae5d70aa58d23140eb3e4e8521
parent2f4787e6cc496ebd38cf27b4d6a2bb8d172ca7c2
Don't use strcmp to check strings one or zero characters long

As a side effect, the date format is stored in a single character instead
of a string and df is now the only variable used globally to set the
date format.
14 files changed:
convlog.c
dansguardian_report.c
getconf.c
grepday.c
include/conf.h
include/defs.h
index.c
log.c
readlog.c
realtime.c
redirector.c
smartfilter.c
splitlog.c
util.c