]> git.ipfire.org Git - thirdparty/sarg.git/commit
Don't try to produce a parsed log if parsed_output_log is none
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 25 Jan 2011 21:08:09 +0000 (21:08 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 25 Jan 2011 21:08:09 +0000 (21:08 +0000)
commit8949e757f06d40a37b11fc1518f02e2b72276849
treecb29296f0b725884bdc9d3d0b3a1e08ffc08d826
parent45d00862b1e09d6b814d92595516d6316b716070
Don't try to produce a parsed log if parsed_output_log is none

The correct value to set in parsed_output_log to disable the parsed
log is "no" but if the user enters "none" as is usual with the other
parameters, parsed_output_log is set to an empty string which is not
equivalent to "no". The creation of the parsed log would then proceed
and fail because the path is invalid.
log.c