summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-05-27 13:28:04 +0000
committernicm <nicm@openbsd.org>2015-05-27 13:28:04 +0000
commitafe199e1f5f87d4840cbc37a990f93ac3a500fb1 (patch)
tree0a93bddf64f412f55469338777e81b2b83977b5d /usr.bin/tmux/server.c
parentcheck if the packet is for us or if we're promisc before we cut the (diff)
downloadwireguard-openbsd-afe199e1f5f87d4840cbc37a990f93ac3a500fb1.tar.xz
wireguard-openbsd-afe199e1f5f87d4840cbc37a990f93ac3a500fb1.zip
Move the jobs output cache into the formats code so that #() work more
generally (for example, again working in set-titles-string).
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 0a652a7d2f9..34ec540658a 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.122 2015/04/24 23:17:11 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.123 2015/05/27 13:28:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -485,6 +485,8 @@ server_second_callback(unused int fd, unused short events, unused void *arg)
server_client_status_timer();
+ format_clean();
+
evtimer_del(&server_ev_second);
memset(&tv, 0, sizeof tv);
tv.tv_sec = 1;