aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-03 03:24:19 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-03 03:24:19 +0000
commit486c6b5f15311f5d4c43512749f1c14a69f5ece9 (patch)
tree9e33096ed2eef240e47a9170ef3eb437dd81d4e5 /fetchmail.c
parent38a50aa15463362c59af69ac80e95f713bad27e3 (diff)
downloadfetchmail-486c6b5f15311f5d4c43512749f1c14a69f5ece9.tar.gz
fetchmail-486c6b5f15311f5d4c43512749f1c14a69f5ece9.tar.bz2
fetchmail-486c6b5f15311f5d4c43512749f1c14a69f5ece9.zip
Got rid of verbose member, changed whicpop to protocol.
svn path=/trunk/; revision=28
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);