aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-clients.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-05-01 14:01:14 +0100
committerThomas Adam <thomas@xteddy.org>2017-05-01 14:01:14 +0100
commite354b0e40fe1be1e1f8977d424e02e6487039a56 (patch)
tree9388fd781db45da7e8b22fa3b8c9e8cc08ad1de6 /cmd-list-clients.c
parent4b39120d2270ee4435bc0e6a08826ce9abecb738 (diff)
parent0ccfb61bb0e0beb5fe76b64e30637de7d9f696c7 (diff)
downloadrtmux-e354b0e40fe1be1e1f8977d424e02e6487039a56.tar.gz
rtmux-e354b0e40fe1be1e1f8977d424e02e6487039a56.tar.bz2
rtmux-e354b0e40fe1be1e1f8977d424e02e6487039a56.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-list-clients.c')
-rw-r--r--cmd-list-clients.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-list-clients.c b/cmd-list-clients.c
index df9538e6..9fab8f84 100644
--- a/cmd-list-clients.c
+++ b/cmd-list-clients.c
@@ -72,7 +72,7 @@ cmd_list_clients_exec(struct cmd *self, struct cmdq_item *item)
if (c->session == NULL || (s != NULL && s != c->session))
continue;
- ft = format_create(item, FORMAT_NONE, 0);
+ ft = format_create(item->client, item, FORMAT_NONE, 0);
format_add(ft, "line", "%u", idx);
format_defaults(ft, c, NULL, NULL, NULL);