From: Ezra Peisach Date: Tue, 3 Oct 2000 17:06:15 +0000 (+0000) Subject: * ftpd.c (login): Return of krb5_cc_get_name is now const char * X-Git-Tag: krb5-1.3-alpha1~1863 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=55ee645e107ee51d699f523329d773f1a66b418d;p=krb5.git * 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 --- 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