diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-17 00:01:08 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-17 00:01:08 +0000 |
commit | e0cae08c04a1adca313ec94b7557496142cc2173 (patch) | |
tree | b46acbb209ba4514de75ce8aafe2163f1f97048b /cmd-queue.c | |
parent | 7c94dae702798db66424897159a44832f5dbc392 (diff) | |
parent | 99e9a4c7864c188857fe57b411312ee669f16b54 (diff) | |
download | rtmux-e0cae08c04a1adca313ec94b7557496142cc2173.tar.gz rtmux-e0cae08c04a1adca313ec94b7557496142cc2173.tar.bz2 rtmux-e0cae08c04a1adca313ec94b7557496142cc2173.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index c0fc26c6..5bc3226a 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -44,6 +44,9 @@ cmdq_new(struct client *c) cmdq->item = NULL; cmdq->cmd = NULL; + cmd_find_clear_state(&cmdq->current, NULL, 0); + cmdq->parent = NULL; + return (cmdq); } @@ -286,3 +289,4 @@ cmdq_flush(struct cmd_q *cmdq) } cmdq->item = NULL; } + |