diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-09-12 11:59:39 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-09-12 11:59:39 +0000 |
commit | c64bc78c091837def7820299eb99ed51a21570d8 (patch) | |
tree | 11f97f7a8dfc7f910e62538f840040e233fa0ea3 /fetchmail.c | |
parent | 3490078bdc134e2464dfb35711b6e08dfad7a8da (diff) | |
download | fetchmail-c64bc78c091837def7820299eb99ed51a21570d8.tar.gz fetchmail-c64bc78c091837def7820299eb99ed51a21570d8.tar.bz2 fetchmail-c64bc78c091837def7820299eb99ed51a21570d8.zip |
Added port-specification option.
svn path=/trunk/; revision=87
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 1f424374..8dbaaaa4 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -374,7 +374,12 @@ struct hostrec *queryctl; printf(" Username = '%s'\n", queryctl->remotename); printf(" Password = '%s'\n", queryctl->password); - printf(" Protocol is %s\n", showproto(queryctl->protocol)); + printf(" Protocol is %s", showproto(queryctl->protocol)); + if (queryctl->port) + printf(" (using port %d)", queryctl->port); + else if (outlevel == O_VERBOSE) + printf(" (using default port)"); + putchar('\n'); printf(" Fetched messages will%s be kept on the server (--keep %s).\n", queryctl->keep ? "" : " not", |