aboutsummaryrefslogtreecommitdiff
path: root/cmd-queue.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-06-18 13:02:28 +0100
committerThomas Adam <thomas@xteddy.org>2019-06-18 13:02:28 +0100
commitee9bc355f5fec07ef399d03002985e8bd5e117c5 (patch)
tree2bf31664c8bea7fcb66b7bde8561ef529ce7765b /cmd-queue.c
parent5895f1d9f742c9b4bcc1de3cf3bebe2601f673b3 (diff)
parent250fdd08bea74f47fc9a8962d5688db353896921 (diff)
downloadrtmux-ee9bc355f5fec07ef399d03002985e8bd5e117c5.tar.gz
rtmux-ee9bc355f5fec07ef399d03002985e8bd5e117c5.tar.bz2
rtmux-ee9bc355f5fec07ef399d03002985e8bd5e117c5.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 1ee43508..ef68d5d5 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -156,6 +156,13 @@ cmdq_insert_hook(struct session *s, struct cmdq_item *item,
free(name);
}
+/* Continue processing command queue. */
+void
+cmdq_continue(struct cmdq_item *item)
+{
+ item->flags &= ~CMDQ_WAITING;
+}
+
/* Remove an item. */
static void
cmdq_remove(struct cmdq_item *item)