dovecot-2.0: tcpwrap: If tcpwrap support isn't built, don't add ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Mar 25 20:05:00 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/8f5bc2a21f99
changeset: 10987:8f5bc2a21f99
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Mar 25 20:04:58 2010 +0200
description:
tcpwrap: If tcpwrap support isn't built, don't add its service to config.

diffstat:

 src/util/tcpwrap-settings.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r b218d4ec6996 -r 8f5bc2a21f99 src/util/tcpwrap-settings.c
--- a/src/util/tcpwrap-settings.c	Thu Mar 25 20:03:52 2010 +0200
+++ b/src/util/tcpwrap-settings.c	Thu Mar 25 20:04:58 2010 +0200
@@ -7,6 +7,7 @@
 
 #include <stddef.h>
 
+#ifdef HAVE_LIBWRAP
 struct service_settings tcpwrap_service_settings = {
 	.name = "tcpwrap",
 	.protocol = "",
@@ -30,3 +31,4 @@
 	.fifo_listeners = ARRAY_INIT,
 	.inet_listeners = ARRAY_INIT
 };
+#endif


More information about the dovecot-cvs mailing list