diff options
author | nicm <nicm> | 2015-12-15 13:43:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-15 13:43:07 +0000 |
commit | ac9778395feb8551e0acbd2f32465b65aeba5e05 (patch) | |
tree | 8a2e548635c88e80320d7f5e57a8d1c011c710d2 /cmd-attach-session.c | |
parent | 9d88d82d5e8caa7882a28ac95fda19754e5553e7 (diff) | |
download | rtmux-ac9778395feb8551e0acbd2f32465b65aeba5e05.tar.gz rtmux-ac9778395feb8551e0acbd2f32465b65aeba5e05.tar.bz2 rtmux-ac9778395feb8551e0acbd2f32465b65aeba5e05.zip |
Some hooks API changes to fire a hook while waiting another cmdq and
infrastructure that will be needed soon.
Diffstat (limited to 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 3b3f9e68..586863aa 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -144,7 +144,7 @@ cmd_attach_session(struct cmd_q *cmdq, int dflag, int rflag, const char *cflag, if (~c->flags & CLIENT_CONTROL) proc_send(c->peer, MSG_READY, -1, NULL, 0); - hooks_run(c->session->hooks, "client-attached", c); + hooks_run(c->session->hooks, c, "client-attached"); cmdq->client_exit = 0; } recalculate_sizes(); |