commit 296057d81eaca4fce4eb8f2c17559f899b59a349
parent 14ed2e62ef0b51c49535b006e9f3d053f268d53c
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 14 Jan 2016 10:19:22 +0100
Removing now unneeded #ifdef __OpenBSD__ check for pledge
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/logswan.c b/src/logswan.c
@@ -79,11 +79,9 @@ int main (int argc, char *argv[]) {
struct HLL uniqueIPv4, uniqueIPv6;
char *intputFile;
-#ifdef __OpenBSD__
if (pledge("stdio rpath", NULL) == -1) {
err(EXIT_FAILURE, "pledge");
}
-#endif
hll_init(&uniqueIPv4, HLL_BITS);
hll_init(&uniqueIPv6, HLL_BITS);