diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-07-20 17:48:01 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-07-20 17:48:01 +0000 |
commit | 2b4651b3546053c71d5566ab2f8b943a43de2354 (patch) | |
tree | da458c2e6d4d9b469e754c83d4e28fc1600efd3f /conf.c | |
parent | fe13f5844212ba65b0e172ac4087136a36240e44 (diff) | |
download | fetchmail-2b4651b3546053c71d5566ab2f8b943a43de2354.tar.gz fetchmail-2b4651b3546053c71d5566ab2f8b943a43de2354.tar.bz2 fetchmail-2b4651b3546053c71d5566ab2f8b943a43de2354.zip |
Can specify multiple spam-blocks now.
svn path=/trunk/; revision=1997
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -270,7 +270,14 @@ void dump_config(struct runctl *runp, struct query *querylist) numdump("expunge", ctl->expunge); listdump("smtphunt", ctl->smtphunt); stringdump("smtpaddress", ctl->smtpaddress); - numdump("antispam", ctl->antispam); + fprintf(stdout, "'antispam':["); + for (idp = ctl->antispam; idp; idp = idp->next) + { + fprintf(stdout, "%d", idp->val.status.num); + if (idp->next) + fputs(", ", stdout); + } + fputs("],\n", stdout); listdump("mailboxes", ctl->mailboxes); indent('}'); |