diff options
author | nicm <nicm> | 2015-10-28 09:51:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-10-28 09:51:55 +0000 |
commit | bf9c933caed5c74be3c9c4da02d7c57a9dcf091d (patch) | |
tree | 533de8449d76a2bb151f883f99f80ba73f0c987e /cmd-switch-client.c | |
parent | 44657bf932b068aff5ce1019a4e8a2e7b00b5321 (diff) |
Like options, move the environ struct into environ.c.
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r-- | cmd-switch-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index 5a8c8b08..dbdc5b63 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -121,7 +121,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq) if (c != NULL && !args_has(args, 'E')) { update = options_get_string(s->options, "update-environment"); - environ_update(update, &c->environ, &s->environ); + environ_update(update, c->environ, s->environ); } if (c->session != NULL && c->session != s) |