summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/proc.c')
-rw-r--r--usr.bin/tmux/proc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/tmux/proc.c b/usr.bin/tmux/proc.c
index 9f291be6ff3..56eb2116e98 100644
--- a/usr.bin/tmux/proc.c
+++ b/usr.bin/tmux/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.8 2016/01/19 15:59:12 nicm Exp $ */
+/* $OpenBSD: proc.c,v 1.9 2017/06/04 08:25:57 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -265,3 +265,9 @@ proc_kill_peer(struct tmuxpeer *peer)
{
peer->flags |= PEER_BAD;
}
+
+void
+proc_toggle_log(struct tmuxproc *tp)
+{
+ log_toggle(tp->name);
+}