From 8d05b88a2317291edc74356d8436c1e0f885367c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 2 Dec 2013 23:26:15 +0100 Subject: [PATCH] Fix DIE(). DIE() wasn't exiting because the value of LOG_LEVEL_PERROR was wrong causing it to be interpreted like LOG_LEVEL_DEBUG. --- src/socket2unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket2unix.c b/src/socket2unix.c index 1f741b5..6f9f0c7 100644 --- a/src/socket2unix.c +++ b/src/socket2unix.c @@ -46,7 +46,7 @@ #define LOG_LEVEL_DEBUG 3 #define LOG_LEVEL_MASK LOG_LEVEL_DEBUG -#define LOG_LEVEL_PERROR 42 +#define LOG_LEVEL_PERROR (1 << 10) #define OPTION_PARSED (1 << 1) /* Don't intercept listen(), accept(). */ -- 2.45.2