(krb5_get_host_realm): constize orig_host
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5366 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
|  * Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan | ||||
|  * Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan | ||||
|  * (Royal Institute of Technology, Stockholm, Sweden).  | ||||
|  * All rights reserved.  | ||||
|  * | ||||
| @@ -65,7 +65,7 @@ krb5_get_host_realm(krb5_context context, | ||||
|     const krb5_config_binding *l; | ||||
|     struct in_addr addr; | ||||
|     struct hostent *hostent; | ||||
|     char *orig_host; | ||||
|     const char *orig_host; | ||||
|  | ||||
|     if (host == NULL) { | ||||
| 	if (gethostname (hostname, sizeof(hostname))) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund