aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-08-23 13:21:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-08-23 13:21:16 +0000
commit72ab3f64d0259e6c6c8925f6a92effc08ea782c8 (patch)
tree08d88aa51997d7db6430ef911460c0e1037be2d8 /fetchmail.c
parent3de1461231102f0b49264fa3346bdee334590fd2 (diff)
downloadfetchmail-72ab3f64d0259e6c6c8925f6a92effc08ea782c8.tar.gz
fetchmail-72ab3f64d0259e6c6c8925f6a92effc08ea782c8.tar.bz2
fetchmail-72ab3f64d0259e6c6c8925f6a92effc08ea782c8.zip
Now all MDA arguments are dumped.
svn path=/trunk/; revision=57
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c16
1 files changed, 14 insertions, 2 deletions
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)