diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-08 05:38:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-08 05:38:41 +0000 |
commit | 4cf99da5da3d1e2d54cf2ac81c0dfd5bf94ca98a (patch) | |
tree | 9f0555eab9627e9c6f168fc3bba971de32cffda2 /fetchmail.c | |
parent | 995f32756f7c222468bb3527ae6b9f340fe333ea (diff) | |
download | fetchmail-4cf99da5da3d1e2d54cf2ac81c0dfd5bf94ca98a.tar.gz fetchmail-4cf99da5da3d1e2d54cf2ac81c0dfd5bf94ca98a.tar.bz2 fetchmail-4cf99da5da3d1e2d54cf2ac81c0dfd5bf94ca98a.zip |
Implement batchlimit option.
svn path=/trunk/; revision=503
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/fetchmail.c b/fetchmail.c index 9140cff5..d0f04bb4 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -136,13 +136,17 @@ char **argv; /* perhaps we just want to check options? */ if (versioninfo) { - printf("Taking options from command line"); - if (access(rcfile, 0)) - printf("\n"); - else - printf(" and %s\n", rcfile); - if (outlevel == O_VERBOSE) - printf("Lockfile at %s\n", tmpbuf); + printf("Taking options from command line"); + if (access(rcfile, 0)) + printf("\n"); + else + printf(" and %s\n", rcfile); + if (outlevel == O_VERBOSE) + printf("Lockfile at %s\n", tmpbuf); + if (batchlimit) + printf("SMTP message batch limit is %d.\n", batchlimit); + else + printf("No SMTP message batch limit.\n"); for (ctl = querylist; ctl; ctl = ctl->next) { if (ctl->active && !(implicitmode && ctl->skip)) dump_params(ctl); @@ -667,9 +671,7 @@ struct query *ctl; /* query parameter block */ && ctl->authenticate == A_KERBEROS) printf(" Protocol is KPOP"); else - { printf(" Protocol is %s", showproto(ctl->protocol)); - } if (ctl->port) printf(" (using port %d)", ctl->port); else if (outlevel == O_VERBOSE) |