aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
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) {