summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-run-shell.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-06-18 11:08:42 +0000
committernicm <nicm@openbsd.org>2019-06-18 11:08:42 +0000
commit780ca620f1c716c2970da67fa9e9172129a7e3d1 (patch)
tree044e1e90945d435fef72b6aaed82bd82899f9fce /usr.bin/tmux/cmd-run-shell.c
parentEnsure the length passed to ffs_truncate() is within bounds before calling (diff)
downloadwireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.tar.xz
wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.zip
Add a cmdq_continue function rather than twiddling the flag directly.
Diffstat (limited to 'usr.bin/tmux/cmd-run-shell.c')
-rw-r--r--usr.bin/tmux/cmd-run-shell.c4
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 f22d9b3ae43..a484fcd5a94 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.58 2019/03/12 11:16:50 nicm Exp $ */
+/* $OpenBSD: cmd-run-shell.c,v 1.59 2019/06/18 11:08:42 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -155,7 +155,7 @@ cmd_run_shell_callback(struct job *job)
free(msg);
if (cdata->item != NULL)
- cdata->item->flags &= ~CMDQ_WAITING;
+ cmdq_continue(cdata->item);
}
static void