From 22a528905d178551b9a374db2da673664f4203b3 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 13 Jan 2017 11:56:43 +0000 Subject: Make options_get_string return const string. --- server-fn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server-fn.c') diff --git a/server-fn.c b/server-fn.c index 8fad6791..d43461f3 100644 --- a/server-fn.c +++ b/server-fn.c @@ -35,9 +35,9 @@ static void server_destroy_session_group(struct session *); void server_fill_environ(struct session *s, struct environ *env) { - char *term; - u_int idx; - long pid; + const char *term; + u_int idx; + long pid; if (s != NULL) { term = options_get_string(global_options, "default-terminal"); -- cgit