From 2372b0fdc67f17336e39d8eb86019103aad6bb4e Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 18 Jun 2020 08:34:22 +0000 Subject: Add a flag to make a client wait for an empty line before exiting in control mode to avoid stray commands ending up in the shell. --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.c') diff --git a/server.c b/server.c index 67d47f23..f07bf673 100644 --- a/server.c +++ b/server.c @@ -45,7 +45,7 @@ struct clients clients; struct tmuxproc *server_proc; static int server_fd = -1; -static int server_client_flags; +static uint64_t server_client_flags; static int server_exit; static struct event server_ev_accept; -- cgit