From 486c6b5f15311f5d4c43512749f1c14a69f5ece9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Jul 1996 03:24:19 +0000 Subject: Got rid of verbose member, changed whicpop to protocol. svn path=/trunk/; revision=28 --- options.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 7b9e8c87..df7c3a7d 100644 --- a/options.c +++ b/options.c @@ -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; -- cgit v1.2.3