From 55ee645e107ee51d699f523329d773f1a66b418d Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 3 Oct 2000 17:06:15 +0000 Subject: [PATCH] * ftpd.c (login): Return of krb5_cc_get_name is now const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12716 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftpd/ChangeLog | 4 ++++ src/appl/gssftp/ftpd/ftpd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 971a4c458..78beb9da0 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,7 @@ +2000-10-03 Ezra Peisach + + * ftpd.c (login): Return of krb5_cc_get_name is now const char *. + 2000-08-25 Tom Yu * ftpcmd.y: Fix up grammar so that single character token names diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 17f6e009b..45955acb6 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -1073,7 +1073,7 @@ login(passwd) { if (have_creds) { #ifdef GSSAPI - char *ccname = krb5_cc_get_name(kcontext, ccache); + const char *ccname = krb5_cc_get_name(kcontext, ccache); chown(ccname, pw->pw_uid, pw->pw_gid); #endif #ifdef KRB5_KRB4_COMPAT -- 2.26.2