aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-13 11:56:43 +0000
committernicm <nicm>2017-01-13 11:56:43 +0000
commit22a528905d178551b9a374db2da673664f4203b3 (patch)
treea03cbaddd4a482fe74bcce52f9c6e0614e212a65 /tty-term.c
parent95950bf668cee5a80cd9bbe28d7134a52a240426 (diff)
downloadrtmux-22a528905d178551b9a374db2da673664f4203b3.tar.gz
rtmux-22a528905d178551b9a374db2da673664f4203b3.tar.bz2
rtmux-22a528905d178551b9a374db2da673664f4203b3.zip
Make options_get_string return const string.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c3
1 files changed, 1 insertions, 2 deletions
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) {