aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 3c6a377c..9c2c02b5 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -228,7 +228,7 @@ struct optrec *options;
{
if (outlevel != O_SILENT)
fprintf(stderr, "popclient: querying %s\n", options->servername);
- switch (options->whichpop) {
+ switch (options->protocol) {
case P_POP2:
return(doPOP2(options));
break;
@@ -274,7 +274,7 @@ struct optrec *options;
printf(" Password = '%s'\n", options->password);
printf(" Protocol is ");
- switch (options->whichpop)
+ switch (options->protocol)
{
case P_POP2: printf("POP2\n"); break;
case P_POP3: printf("POP3\n"); break;
@@ -307,7 +307,7 @@ struct optrec *options;
default:
printf(" Message destination unknown?!?\n");
}
- if (options->verbose)
+ if (outlevel == O_VERBOSE)
{
if (options->output != TO_FOLDER)
printf(" (Mail folder would have been '%s')\n", options->userfolder);