error_message() which returns a const char *. Should be assigned to same.
srv_acl.c: Added const to acl_acl_file definition. default_acl_file is a
const char * and gets assigned to it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5787
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat May 9 17:46:31 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * srv_output.c (lang_error_message): Local variable is assigned
+ from error_message() which returns a const char *. Should
+ be assigned to same.
+
+ * srv_acl.c: Added const to acl_acl_file
+ definition. default_acl_file is a const char * and gets
+ assigned to it.
Tue May 9 15:29:10 EDT 1995 Paul Park (pjpark@mit.edu)
Add new administrative protocol support functions and fix bugs.
static aent_t *acl_list_tail = (aent_t *) NULL;
static const char *acl_default_file = "/etc/krb5_adm.acl";
-static char *acl_acl_file = (char *) NULL;
+static const char *acl_acl_file = (char *) NULL;
static int acl_inited = 0;
static int acl_debug_level = 0;
/*
krb5_error_code kval;
{
char *ret;
- char *ermsg;
+ const char *ermsg;
ermsg = (char *) error_message(kval);
if (lang && output_lang_supported(lang)) {