logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 23454dab3936cc2ff8d443c1ffb09b3ac059279d
parent b36864f428c5599ab72868d571f624c46103f6a9
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 12 Jan 2016 14:34:21 +0100

Formatting tweaks

Diffstat:
Msrc/logswan.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/logswan.c b/src/logswan.c @@ -75,11 +75,11 @@ int main (int argc, char *argv[]) { struct HLL uniqueIPv4, uniqueIPv6; char *intputFile; - #if defined(__OpenBSD__) - if (pledge("stdio rpath", NULL) == -1) { - err(EXIT_FAILURE, "pledge"); - } - #endif +#ifdef __OpenBSD__ + if (pledge("stdio rpath", NULL) == -1) { + err(EXIT_FAILURE, "pledge"); + } +#endif hll_init(&uniqueIPv4, HLL_BITS); hll_init(&uniqueIPv6, HLL_BITS);