diff options
author | 2019-03-14 21:27:26 +0000 | |
---|---|---|
committer | 2019-03-14 21:27:26 +0000 | |
commit | 555dc2651a59a7467b980e6298ce97f4a7aa42d1 (patch) | |
tree | 426fe90a46e5d354e647ef17178a594020c73d36 /usr.bin/tmux/server-client.c | |
parent | Add acpicmos(4). (diff) | |
download | wireguard-openbsd-555dc2651a59a7467b980e6298ce97f4a7aa42d1.tar.xz wireguard-openbsd-555dc2651a59a7467b980e6298ce97f4a7aa42d1.zip |
Accept 0 time as a shorthand for now to format_expand_time.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index e0fe2081f81..0940234c032 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.267 2019/03/12 11:16:50 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.268 2019/03/14 21:27:26 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1537,7 +1537,7 @@ server_client_set_title(struct client *c) ft = format_create(c, NULL, FORMAT_NONE, 0); format_defaults(ft, c, NULL, NULL, NULL); - title = format_expand_time(ft, template, time(NULL)); + title = format_expand_time(ft, template, 0); if (c->title == NULL || strcmp(title, c->title) != 0) { free(c->title); c->title = xstrdup(title); |