aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-06-11 14:46:37 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-06-11 14:46:37 +0000
commit21ea1b015d19a41053d02f11255c4ea60d10e048 (patch)
tree47428ddaee31d44972adc68348e3546c81eb398d /options.c
parent85f067d97fdf18769eefd8419ab10c3a9a113195 (diff)
downloadfetchmail-21ea1b015d19a41053d02f11255c4ea60d10e048.tar.gz
fetchmail-21ea1b015d19a41053d02f11255c4ea60d10e048.tar.bz2
fetchmail-21ea1b015d19a41053d02f11255c4ea60d10e048.zip
Introduced bool.
svn path=/trunk/; revision=1084
Diffstat (limited to 'options.c')
-rw-r--r--options.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/options.c b/options.c
index 4dea3dc8..0241ca57 100644
--- a/options.c
+++ b/options.c
@@ -186,7 +186,7 @@ struct query *ctl; /* option record to be initialized */
{
ctl->server.protocol = P_POP3;
ctl->server.port = KPOP_PORT;
- ctl->server.authenticate = A_KERBEROS_V4;
+ ctl->server.preauthenticate = A_KERBEROS_V4;
}
else if (strcasecmp(optarg,"imap") == 0)
ctl->server.protocol = P_IMAP;
@@ -212,13 +212,13 @@ struct query *ctl; /* option record to be initialized */
case 'A':
case LA_AUTHENTICATE:
if (strcmp(optarg, "password") == 0)
- ctl->server.authenticate = A_PASSWORD;
+ ctl->server.preauthenticate = A_PASSWORD;
else if (strcmp(optarg, "kerberos") == 0)
- ctl->server.authenticate = A_KERBEROS_V4;
+ ctl->server.preauthenticate = A_KERBEROS_V4;
else if (strcmp(optarg, "kerberos_v4") == 0)
- ctl->server.authenticate = A_KERBEROS_V4;
+ ctl->server.preauthenticate = A_KERBEROS_V4;
else {
- fprintf(stderr,"Invalid authentication `%s' specified.\n", optarg);
+ fprintf(stderr,"Invalid preauthentication `%s' specified.\n", optarg);
errflag++;
}
break;