From 3c15c1f8d5699ff3a2642d4e2770d10b758ab47d Mon Sep 17 00:00:00 2001 From: maxtors Date: Thu, 5 May 2016 11:06:57 +0200 Subject: [PATCH] Use ConfValIsTrue for parsing TILE PCIE logging append value. --- src/util-logopenfile-tile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-logopenfile-tile.c b/src/util-logopenfile-tile.c index c2414fc49b..82e9bbf3b4 100644 --- a/src/util-logopenfile-tile.c +++ b/src/util-logopenfile-tile.c @@ -349,7 +349,7 @@ PcieFile *TileOpenPcieFp(LogFileCtx *log_ctx, const char *path, const char *append_setting) { PcieFile *ret = NULL; - if (strcasecmp(append_setting, "yes") == 0) { + if (ConfValIsTrue(append_setting)) { ret = TileOpenPcieFpInternal(path, 'a'); } else { ret = TileOpenPcieFpInternal(path, 'w');