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. --- tty-term.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tty-term.c') diff --git a/tty-term.c b/tty-term.c index 654b926d..0496f1f3 100644 --- a/tty-term.c +++ b/tty-term.c @@ -385,8 +385,7 @@ tty_term_find(char *name, int fd, char **cause) struct tty_code *code; u_int i; int n, error; - char *s; - const char *acs; + const char *s, *acs; LIST_FOREACH(term, &tty_terms, entry) { if (strcmp(term->name, name) == 0) { -- cgit