diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-07 21:16:32 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-07 21:16:32 +0000 |
commit | b1b6ddf9079453caa64484f31887cb4273c045bc (patch) | |
tree | 1b373f96732a206faa0017de5dc82532f46a08cc /conf.c | |
parent | ad27c0a72aac927955335303e6cfab5f3ee58ad0 (diff) | |
download | fetchmail-b1b6ddf9079453caa64484f31887cb4273c045bc.tar.gz fetchmail-b1b6ddf9079453caa64484f31887cb4273c045bc.tar.bz2 fetchmail-b1b6ddf9079453caa64484f31887cb4273c045bc.zip |
Added LMTP support.
svn path=/trunk/; revision=2177
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 */ |