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

@ -35,9 +35,9 @@ static void server_destroy_session_group(struct session *);
void
server_fill_environ(struct session *s, struct environ *env)
{
char *term;
u_int idx;
long pid;
const char *term;
u_int idx;
long pid;
if (s != NULL) {
term = options_get_string(global_options, "default-terminal");