From c64bc78c091837def7820299eb99ed51a21570d8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 12 Sep 1996 11:59:39 +0000 Subject: Added port-specification option. svn path=/trunk/; revision=87 --- fetchmail.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'fetchmail.c') 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", -- cgit v1.2.3