From 72ab3f64d0259e6c6c8925f6a92effc08ea782c8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 23 Aug 1996 13:21:16 +0000 Subject: Now all MDA arguments are dumped. svn path=/trunk/; revision=57 --- fetchmail.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index e2687bf2..0afe9463 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -327,6 +327,8 @@ int showversioninfo() int dump_params (queryctl) struct hostrec *queryctl; { + char *cp; + printf(" Username = '%s'\n", queryctl->remotename); printf(" Password = '%s'\n", queryctl->password); @@ -357,7 +359,11 @@ struct hostrec *queryctl; printf(" Messages will be appended to '%s'\n", queryctl->userfolder); break; case TO_MDA: - printf(" Messages will be delivered with %s\n", queryctl->mda); + printf(" Messages will be delivered with"); + for (cp = queryctl->mda; *cp; cp += strlen(cp) + 1) { + printf(" %s", cp); + } + putchar('\n'); break; case TO_STDOUT: printf(" Messages will be dumped to standard output\n"); @@ -369,7 +375,13 @@ struct hostrec *queryctl; if (queryctl->output != TO_FOLDER) printf(" (Mail folder would have been '%s')\n", queryctl->userfolder); if (queryctl->output != TO_MDA) - printf(" (MDA would have been '%s')\n", queryctl->mda); + { + printf(" (MDA would have been"); + for (cp = queryctl->mda; *cp; cp += strlen(cp) + 1) { + printf(" %s", cp); + } + printf(")\n"); + } } if (linelimit == 0) -- cgit v1.2.3