diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 03:24:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 03:24:19 +0000 |
commit | 486c6b5f15311f5d4c43512749f1c14a69f5ece9 (patch) | |
tree | 9e33096ed2eef240e47a9170ef3eb437dd81d4e5 /options.c | |
parent | 38a50aa15463362c59af69ac80e95f713bad27e3 (diff) | |
download | fetchmail-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 'options.c')
-rw-r--r-- | options.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -109,10 +109,10 @@ struct optrec *options; switch (c) { case '2': - options->whichpop = P_POP2; + options->protocol = P_POP2; break; case '3': - options->whichpop = P_POP3; + options->protocol = P_POP3; break; case 'V': case LA_VERSION: @@ -164,15 +164,15 @@ struct optrec *options; case LA_PROTOCOL: /* XXX -- should probably use a table lookup here */ if (strcasecmp(optarg,"pop2") == 0) - options->whichpop = P_POP2; + options->protocol = P_POP2; else if (strcasecmp(optarg,"pop3") == 0) - options->whichpop = P_POP3; + options->protocol = P_POP3; else if (strcasecmp(optarg,"imap") == 0) - options->whichpop = P_IMAP; + options->protocol = P_IMAP; else if (strcasecmp(optarg,"apop") == 0) - options->whichpop = P_APOP; + options->protocol = P_APOP; else if (strcasecmp(optarg,"rpop") == 0) - options->whichpop = P_RPOP; + options->protocol = P_RPOP; else { fprintf(stderr,"Invalid protocol '%s'\n specified.\n", optarg); errflag++; @@ -289,7 +289,7 @@ struct optrec *options; return(-1); } - options->whichpop = DEF_PROTOCOL; + options->protocol = DEF_PROTOCOL; #if defined(KEEP_IS_DEFAULT) options->keep = 1; |