summaryrefslogtreecommitdiffstats
path: root/cmd-list-clients.c
diff options
context:
space:
mode:
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 9fab8f84..9cec5199 100644
--- a/cmd-list-clients.c
+++ b/cmd-list-clients.c
@@ -51,7 +51,7 @@ const struct cmd_entry cmd_list_clients_entry = {
static enum cmd_retval
cmd_list_clients_exec(struct cmd *self, struct cmdq_item *item)
{
- struct args *args = self->args;
+ struct args *args = cmd_get_args(self);
struct client *c;
struct session *s;
struct format_tree *ft;