From: Simon Ruderich Date: Mon, 2 Dec 2013 22:26:15 +0000 (+0100) Subject: Fix DIE(). X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=8d05b88a2317291edc74356d8436c1e0f885367c;p=socket2unix%2Fsocket2unix.git Fix DIE(). DIE() wasn't exiting because the value of LOG_LEVEL_PERROR was wrong causing it to be interpreted like LOG_LEVEL_DEBUG. --- 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(). */