Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2022-06-21 12:01:09 +01:00
5 changed files with 37 additions and 18 deletions

View File

@ -53,6 +53,8 @@ struct cmd_find_state marked_pane;
static u_int message_next;
struct message_list message_log;
time_t current_time;
static int server_loop(void);
static void server_send_exit(void);
static void server_accept(int, short, void *);
@ -263,6 +265,8 @@ server_loop(void)
struct client *c;
u_int items;
current_time = time (NULL);
do {
items = cmdq_next(NULL);
TAILQ_FOREACH(c, &clients, entry) {