aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-clients.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-02-06 19:05:56 +0000
committerThomas Adam <thomas@xteddy.org>2015-02-06 19:07:43 +0000
commit833fe5bdee449b04afe8844774be66374e1baf9c (patch)
tree11b21f479421b08f67776c832543becaa0b12fb8 /cmd-list-clients.c
parent93c3fb78a3593afd23e85352213236131dd5958f (diff)
parent313f2263f8bb3336893527f65789f820ba7eaf0f (diff)
downloadrtmux-833fe5bdee449b04afe8844774be66374e1baf9c.tar.gz
rtmux-833fe5bdee449b04afe8844774be66374e1baf9c.tar.bz2
rtmux-833fe5bdee449b04afe8844774be66374e1baf9c.zip
Merge branch 'obsd-master'
Conflicts: cmd-pipe-pane.c
Diffstat (limited to 'cmd-list-clients.c')
-rw-r--r--cmd-list-clients.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-list-clients.c b/cmd-list-clients.c
index 292be722..893a6d05 100644
--- a/cmd-list-clients.c
+++ b/cmd-list-clients.c
@@ -74,8 +74,7 @@ cmd_list_clients_exec(struct cmd *self, struct cmd_q *cmdq)
ft = format_create();
format_add(ft, "line", "%u", i);
- format_session(ft, c->session);
- format_client(ft, c);
+ format_defaults(ft, c, NULL, NULL, NULL);
line = format_expand(ft, template);
cmdq_print(cmdq, "%s", line);