diff options
author | 2016-07-15 09:27:35 +0000 | |
---|---|---|
committer | 2016-07-15 09:27:35 +0000 | |
commit | 6ae61da3b5cd2001512109c8a89799f1e139545e (patch) | |
tree | 3b681072a27b9789786851d1fa4a4b175bee35ca /usr.bin/tmux/names.c | |
parent | Switch m88k to pass &_DYNAMIC to _dl_boot_bind() (diff) | |
download | wireguard-openbsd-6ae61da3b5cd2001512109c8a89799f1e139545e.tar.xz wireguard-openbsd-6ae61da3b5cd2001512109c8a89799f1e139545e.zip |
Wrap some long lines and apply some static.
Diffstat (limited to 'usr.bin/tmux/names.c')
-rw-r--r-- | usr.bin/tmux/names.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c index 59a55097877..f9d6e88ab42 100644 --- a/usr.bin/tmux/names.c +++ b/usr.bin/tmux/names.c @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.34 2016/01/19 15:59:12 nicm Exp $ */ +/* $OpenBSD: names.c,v 1.35 2016/07/15 09:27:35 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -73,12 +73,15 @@ check_window_name(struct window *w) if (!event_initialized(&w->name_event)) evtimer_set(&w->name_event, name_time_callback, w); if (!evtimer_pending(&w->name_event, NULL)) { - log_debug("@%u name timer queued (%d left)", w->id, left); + log_debug("@%u name timer queued (%d left)", w->id, + left); timerclear(&next); next.tv_usec = left; event_add(&w->name_event, &next); - } else - log_debug("@%u name timer already queued (%d left)", w->id, left); + } else { + log_debug("@%u name timer already queued (%d left)", + w->id, left); + } return; } memcpy(&w->name_time, &tv, sizeof w->name_time); |