diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-04-19 16:01:14 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-04-19 16:01:14 +0100 |
commit | 5a551ac57f5f6ab9e4ea58752521583f00c8e555 (patch) | |
tree | e999ce267cf8e71945add80b9b647ecf645b8fa1 /cmd-detach-client.c | |
parent | 85af9c9c9d5614a483f4346a75da6aa589b33a12 (diff) | |
parent | 53fde21bb85c37c35854069ec95377ecc86750ee (diff) | |
download | rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.tar.gz rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.tar.bz2 rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-detach-client.c')
-rw-r--r-- | cmd-detach-client.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd-detach-client.c b/cmd-detach-client.c index a10fd42a..2e21f795 100644 --- a/cmd-detach-client.c +++ b/cmd-detach-client.c @@ -67,9 +67,7 @@ cmd_detach_client_exec(struct cmd *self, struct cmdq_item *item) const char *cmd = args_get(args, 'E'); if (self->entry == &cmd_suspend_client_entry) { - tty_stop_tty(&c->tty); - c->flags |= CLIENT_SUSPENDED; - proc_send(c->peer, MSG_SUSPEND, -1, NULL, 0); + server_client_suspend(c); return (CMD_RETURN_NORMAL); } |