Make options_get_string return const string.

This commit is contained in:
nicm
2017-01-13 11:56:43 +00:00
parent 95950bf668
commit 22a528905d
6 changed files with 25 additions and 23 deletions

View File

@ -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) {