aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-29 23:20:24 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-29 23:20:24 +0000
commitb5e4dc5abc12941cb0695e4d69d5ac2a2f21406f (patch)
treeb7c796c1468a17c2da2f1fb4284601145cd9a356 /fetchmail.c
parent9e818012346fbee36ba481866b3d0005ac6816ea (diff)
downloadfetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.tar.gz
fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.tar.bz2
fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.zip
-Wall changes.
svn path=/trunk/; revision=2626
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 1ff5fd9a..61737774 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1221,10 +1221,12 @@ static int load_params(int argc, char **argv, int optind)
* multidrop mail, set an appropriate default here.
*/
if (!run.postmaster)
+ {
if (getuid()) /* ordinary user */
run.postmaster = user;
else /* root */
run.postmaster = "postmaster";
+ }
return(implicitmode);
}
@@ -1430,6 +1432,7 @@ static void dump_params (struct runctl *runp,
if (!ctl->password)
printf(_(" Password will be prompted for.\n"));
else if (outlevel >= O_VERBOSE)
+ {
if (ctl->server.protocol == P_APOP)
printf(_(" APOP secret = \"%s\".\n"),
visbuf(ctl->password));
@@ -1439,6 +1442,7 @@ static void dump_params (struct runctl *runp,
else
printf(_(" Password = \"%s\".\n"),
visbuf(ctl->password));
+ }
}
if (ctl->server.protocol == P_POP3
@@ -1541,10 +1545,12 @@ static void dump_params (struct runctl *runp,
else if (outlevel >= O_VERBOSE)
printf(_(" No SMTP message batch limit (--batchlimit 0).\n"));
if (ctl->server.protocol == P_IMAP)
+ {
if (NUM_NONZERO(ctl->expunge))
printf(_(" Deletion interval between expunges forced to %d (--expunge %d).\n"), ctl->expunge, ctl->expunge);
else if (outlevel >= O_VERBOSE)
printf(_(" No forced expunges (--expunge 0).\n"));
+ }
}
if (ctl->bsmtp)
printf(_(" Messages will be appended to %s as BSMTP\n"), visbuf(ctl->bsmtp));
@@ -1688,6 +1694,7 @@ static void dump_params (struct runctl *runp,
printf(_(" No plugout command specified.\n"));
if (ctl->server.protocol > P_POP2 && (ctl->server.protocol != P_ETRN))
+ {
if (!ctl->oldsaved)
printf(_(" No UIDs saved from this host.\n"));
else
@@ -1703,6 +1710,7 @@ static void dump_params (struct runctl *runp,
for (idp = ctl->oldsaved; idp; idp = idp->next)
printf("\t%s\n", idp->id);
}
+ }
if (ctl->properties)
printf(_(" Pass-through properties \"%s\".\n"),