diff options
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", |