From: Timo Sirainen Date: Tue, 16 Mar 2010 15:13:50 +0000 (+0200) Subject: tcpwrap: Added allow/deny severity to fix compiling on some systems. X-Git-Tag: 2.0.beta4~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffbe1f1abb238d36f548ab04bdb8345e19635398;p=thirdparty%2Fdovecot%2Fcore.git tcpwrap: Added allow/deny severity to fix compiling on some systems. Patch by Tomi Vainio --HG-- branch : HEAD --- diff --git a/src/util/tcpwrap.c b/src/util/tcpwrap.c index e6d0a7ec1e..b1d3d8db63 100644 --- a/src/util/tcpwrap.c +++ b/src/util/tcpwrap.c @@ -9,6 +9,7 @@ #include #include +#include #include struct tcpwrap_client { @@ -19,6 +20,10 @@ struct tcpwrap_client { #define INPUT_TIMEOUT_MSECS (1000*10) +/* for tcpwrap library */ +int allow_severity = LOG_INFO; +int deny_severity = LOG_WARNING; + static struct tcpwrap_client *tcpwrap_client = NULL; static void tcpwrap_client_destroy(struct tcpwrap_client **client);