aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 7625516b..757a0e66 100644
--- a/conf.c
+++ b/conf.c
@@ -57,6 +57,7 @@ static void indent(char ic)
indent_level++;
}
+
static void stringdump(const char *name, const char *member)
/* dump a string member with current indent */
{
@@ -314,6 +315,12 @@ void dump_config(struct runctl *runp, struct query *querylist)
stringdump("mda", ctl->mda);
stringdump("bsmtp", ctl->bsmtp);
+ indent('\0');
+ if (ctl->listener == LMTP_MODE)
+ fputs("'lmtp':TRUE,", stdout);
+ else
+ fputs("'lmtp':FALSE,", stdout);
+
#ifdef INET6
stringdump("netsec", ctl->netsec);
#endif /* INET6 */