From 03cc0239a058f9d2e389f60d4a6dcdb2d1e6ed60 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 15 Feb 1999 21:04:07 +0000 Subject: [PATCH] (krb5_get_host_realm): constize orig_host git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5366 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/get_host_realm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/krb5/get_host_realm.c b/lib/krb5/get_host_realm.c index f439c5c57..1398eb4f9 100644 --- a/lib/krb5/get_host_realm.c +++ b/lib/krb5/get_host_realm.c @@ -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)))