Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ftpd Cast away a const for now; const poisoning kerb...



details:   https://anonhg.NetBSD.org/src/rev/80584e65a143
branches:  trunk
changeset: 473091:80584e65a143
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed May 19 21:44:29 1999 +0000

description:
Cast away a const for now; const poisoning kerberos #0.

diffstat:

 libexec/ftpd/ftpd.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 713c3c3bca5a -r 80584e65a143 libexec/ftpd/ftpd.c
--- a/libexec/ftpd/ftpd.c       Wed May 19 21:05:59 1999 +0000
+++ b/libexec/ftpd/ftpd.c       Wed May 19 21:44:29 1999 +0000
@@ -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 @@
 #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 @@
                        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;
                }



Home | Main Index | Thread Index | Old Index