summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1999-05-19 21:44:29 +0000
committerthorpej <thorpej@NetBSD.org>1999-05-19 21:44:29 +0000
commit93c1a6ec555adbb7cb4ae7e82de31263b054dc90 (patch)
treee60c20aed602246c77c099c225bd27b724a98ede /libexec
parenta4f0570f7de7e64a78db9eff8e138c78dbd91c08 (diff)
Cast away a const for now; const poisoning kerberos #0.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index cdf4e844f29..f02474647b1 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ftpd.c,v 1.63 1999/05/18 08:14:18 lukem Exp $ */
+/* $NetBSD: ftpd.c,v 1.64 1999/05/19 21:44:29 thorpej Exp $ */
/*
* Copyright (c) 1985, 1988, 1990, 1992, 1993, 1994
@@ -80,7 +80,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)ftpd.c 8.5 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: ftpd.c,v 1.63 1999/05/18 08:14:18 lukem Exp $");
+__RCSID("$NetBSD: ftpd.c,v 1.64 1999/05/19 21:44:29 thorpej Exp $");
#endif
#endif /* not lint */
@@ -607,13 +607,13 @@ pass(passwd)
goto skip;
}
#ifdef KERBEROS
- if (klogin(pw, "", hostname, passwd) == 0) {
+ if (klogin(pw, "", hostname, (char *)passwd) == 0) {
rval = 0;
goto skip;
}
#endif
#ifdef KERBEROS5
- if (klogin(pw, "", hostname, passwd) == 0) {
+ if (klogin(pw, "", hostname, (char *)passwd) == 0) {
rval = 0;
goto skip;
}