]> git.ipfire.org Git - people/ms/suricata.git/commit
util-logopenfile: don't allocate redis command
authorEric Leblond <eric@regit.org>
Wed, 14 Oct 2015 14:40:44 +0000 (16:40 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 22 Oct 2015 08:01:06 +0000 (10:01 +0200)
commitd88e1334283b37ee2c3d409d38632062d261c67e
tree2caaa2d473e2b594133b682ad0d44581243f8b7f
parent2ea4bbc4921cd6a34824e8ee54d56370577a5160
util-logopenfile: don't allocate redis command

As we only have two different commands we don't need to allocate
it and can use pointer to global variables.
src/util-logopenfile.c
src/util-logopenfile.h