diff options
author | 2020-04-13 08:26:27 +0000 | |
---|---|---|
committer | 2020-04-13 08:26:27 +0000 | |
commit | 90d7ba3861d079c6fa4f1960b5f66a00fbd31640 (patch) | |
tree | 4c99a32464efb735bdc9317da12b6fbbfb4d3ab5 /usr.bin/tmux/cmd-run-shell.c | |
parent | Change so that the appropriate hooks for windows and panes belong to (diff) | |
download | wireguard-openbsd-90d7ba3861d079c6fa4f1960b5f66a00fbd31640.tar.xz wireguard-openbsd-90d7ba3861d079c6fa4f1960b5f66a00fbd31640.zip |
Make struct cmd local to cmd.c and move it out of tmux.h.
Diffstat (limited to 'usr.bin/tmux/cmd-run-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-run-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-run-shell.c b/usr.bin/tmux/cmd-run-shell.c index 016729f23d2..816826f8478 100644 --- a/usr.bin/tmux/cmd-run-shell.c +++ b/usr.bin/tmux/cmd-run-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-run-shell.c,v 1.64 2020/04/10 07:44:26 nicm Exp $ */ +/* $OpenBSD: cmd-run-shell.c,v 1.65 2020/04/13 08:26:27 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -89,7 +89,7 @@ cmd_run_shell_print(struct job *job, const char *msg) static enum cmd_retval cmd_run_shell_exec(struct cmd *self, struct cmdq_item *item) { - struct args *args = self->args; + struct args *args = cmd_get_args(self); struct cmd_run_shell_data *cdata; struct client *c = cmd_find_client(item, NULL, 1); struct session *s = item->target.s; |