From e34633785bb347cb5ab095d31949ba2d453fed7d Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 15 Sep 1997 19:25:24 +0000 Subject: [PATCH] * ccbase.c (krb5_cc_resolve): Incoming cache name is const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10196 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/ChangeLog | 4 ++++ src/lib/krb5/ccache/ccbase.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 94e514e3f..c2a7c5d31 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 15 15:14:16 1997 Ezra Peisach + + * ccbase.c (krb5_cc_resolve): Incoming cache name is const. + Thu Nov 21 11:55:16 EST 1996 Richard Basch * Makefile.in: win32 build diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c index e8bff024d..4570f8053 100644 --- a/src/lib/krb5/ccache/ccbase.c +++ b/src/lib/krb5/ccache/ccbase.c @@ -75,11 +75,12 @@ krb5_cc_register(context, ops, override) KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_cc_resolve (context, name, cache) krb5_context context; - char *name; + const char *name; krb5_ccache *cache; { struct krb5_cc_typelist *tlist; - char *pfx, *resid, *cp; + char *pfx, *cp; + const char *resid; int pfxlen; cp = strchr (name, ':'); -- 2.26.2