diff options
author | Thomas Adam <thomas@xteddy.org> | 2018-11-07 10:02:39 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2018-11-07 10:02:39 +0000 |
commit | 4efba0bf9f387a0bce7d8b804710d3a4bf35077e (patch) | |
tree | a0ff189619ed22c606b3ced2d78274b16d0552aa /cmd-wait-for.c | |
parent | ff77010f709da6c23475ffb2129f9d60a102218a (diff) | |
parent | 0c7f64458fe97f51373775bb0fed01c183bac45b (diff) | |
download | rtmux-4efba0bf9f387a0bce7d8b804710d3a4bf35077e.tar.gz rtmux-4efba0bf9f387a0bce7d8b804710d3a4bf35077e.tar.bz2 rtmux-4efba0bf9f387a0bce7d8b804710d3a4bf35077e.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-wait-for.c')
-rw-r--r-- | cmd-wait-for.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-wait-for.c b/cmd-wait-for.c index 396548a7..33600eda 100644 --- a/cmd-wait-for.c +++ b/cmd-wait-for.c @@ -170,7 +170,7 @@ cmd_wait_for_wait(struct cmdq_item *item, const char *name, struct client *c = item->client; struct wait_item *wi; - if (c == NULL || c->session != NULL) { + if (c == NULL) { cmdq_error(item, "not able to wait"); return (CMD_RETURN_ERROR); } @@ -198,7 +198,7 @@ cmd_wait_for_lock(struct cmdq_item *item, const char *name, { struct wait_item *wi; - if (item->client == NULL || item->client->session != NULL) { + if (item->client == NULL) { cmdq_error(item, "not able to lock"); return (CMD_RETURN_ERROR); } |