aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-13 14:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-13 14:01:13 +0000
commit780dd7ac823215f1c3a468816db18ab745b22d49 (patch)
tree9e57b7b042c5dac2c1df03f07e5acd6464519b83 /tty-term.c
parent2311bbd28a227a8b6e6e52bf30665b37315cad11 (diff)
parent08d21936e4559a92174361d7785ca3e967972edb (diff)
downloadrtmux-780dd7ac823215f1c3a468816db18ab745b22d49.tar.gz
rtmux-780dd7ac823215f1c3a468816db18ab745b22d49.tar.bz2
rtmux-780dd7ac823215f1c3a468816db18ab745b22d49.zip
Merge branch 'obsd-master'
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 cdebeed7..9e29188d 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -388,8 +388,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) {