summaryrefslogtreecommitdiffstats
path: root/server-client.c
diff options
context:
space:
mode:
authornicm <nicm>2019-03-14 23:14:27 +0000
committernicm <nicm>2019-03-14 23:14:27 +0000
commit10d60faba5d06db707a752be47dbb12abd4b8168 (patch)
tree6d5b681af6fde11533c5bd1f809e94e0ff94246d /server-client.c
parentbace79a5715932f093d4c17db5d49af8e6594916 (diff)
Store the time in the format tree rather than passing it around.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c
index 5bd77c84..ba24034b 100644
--- a/server-client.c
+++ b/server-client.c
@@ -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, 0);
+ title = format_expand_time(ft, template);
if (c->title == NULL || strcmp(title, c->title) != 0) {
free(c->title);
c->title = xstrdup(title);