Use ConfValIsTrue for parseing util-logfile append value.

pull/2058/head
maxtors 9 years ago
parent 3c15c1f8d5
commit bf551ace4e

@ -172,7 +172,7 @@ SCLogOpenFileFp(const char *path, const char *append_setting)
{
FILE *ret = NULL;
if (strcasecmp(append_setting, "yes") == 0) {
if (ConfValIsTrue(append_setting)) {
ret = fopen(path, "a");
} else {
ret = fopen(path, "w");

Loading…
Cancel
Save