aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-17 16:29:23 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-17 16:29:23 +0000
commit0d956b2fa9e3dc4a72cfba11b8fb05de03100b82 (patch)
tree87c9c01220f38f9d69fe71a9ca95bd484f008404 /options.c
parentba3aa3131df992d170bff923186126845bdaa23b (diff)
downloadfetchmail-0d956b2fa9e3dc4a72cfba11b8fb05de03100b82.tar.gz
fetchmail-0d956b2fa9e3dc4a72cfba11b8fb05de03100b82.tar.bz2
fetchmail-0d956b2fa9e3dc4a72cfba11b8fb05de03100b82.zip
Gerald Britton's support for mixed Kerberos and Hesiod.
svn path=/trunk/; revision=2183
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/options.c b/options.c
index 7a8c86f3..310ec24b 100644
--- a/options.c
+++ b/options.c
@@ -363,13 +363,13 @@ struct query *ctl; /* option record to be initialized */
else if (strcmp(optarg, "kerberos") == 0)
#ifdef KERBEROS_V5
ctl->server.preauthenticate = A_KERBEROS_V5;
- else if (strcmp(optarg, "kerberos_v5") == 0)
- ctl->server.preauthenticate = A_KERBEROS_V5;
#else
ctl->server.preauthenticate = A_KERBEROS_V4;
+#endif /* KERBEROS_V5 */
+ else if (strcmp(optarg, "kerberos_v5") == 0)
+ ctl->server.preauthenticate = A_KERBEROS_V5;
else if (strcmp(optarg, "kerberos_v4") == 0)
ctl->server.preauthenticate = A_KERBEROS_V4;
-#endif /* KERBEROS_V5 */
else {
fprintf(stderr,"Invalid preauthentication `%s' specified.\n", optarg);
errflag++;