mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-18 17:38:53 +02:00
Move struct options into options.c.
This commit is contained in:
@@ -121,7 +121,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag,
|
||||
}
|
||||
|
||||
if (!Eflag) {
|
||||
update = options_get_string(&s->options,
|
||||
update = options_get_string(s->options,
|
||||
"update-environment");
|
||||
environ_update(update, &c->environ, &s->environ);
|
||||
}
|
||||
@@ -152,7 +152,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag,
|
||||
}
|
||||
|
||||
if (!Eflag) {
|
||||
update = options_get_string(&s->options,
|
||||
update = options_get_string(s->options,
|
||||
"update-environment");
|
||||
environ_update(update, &c->environ, &s->environ);
|
||||
}
|
||||
|
Reference in New Issue
Block a user