to a non-const char *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7658
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Mar 18 17:30:54 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * sn2princ.c (krb5_sname_to_principal): Do not assign a const char *
+ to a non-const char *.
+
Mon Mar 18 14:18:58 EST 1996 Richard Basch <basch@lehman.com>
* sn2princ.c: Do not try to re-assign const variables.
krb5_error_code retval;
register char *cp;
char localname[MAXHOSTNAMELEN];
- char *host = hostname;
- char *service = sname;
+ const char *host = hostname;
+ const char *service = sname;
if ((type == KRB5_NT_UNKNOWN) ||
(type == KRB5_NT_SRV_HST)) {