diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 15:54:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 15:54:29 +0000 |
commit | 2243cfbe7559e6cf48194ff95dcd7eb6df5fe41d (patch) | |
tree | d1cf60483d7b08f01f00610c5e341d26520557c9 /control.c | |
parent | d644e5143fbce243ddcca468a1b8a1d5bfd21b34 (diff) | |
download | rtmux-2243cfbe7559e6cf48194ff95dcd7eb6df5fe41d.tar.gz rtmux-2243cfbe7559e6cf48194ff95dcd7eb6df5fe41d.tar.bz2 rtmux-2243cfbe7559e6cf48194ff95dcd7eb6df5fe41d.zip |
Need to set clients in context before changing their reference count.
Diffstat (limited to 'control.c')
-rw-r--r-- | control.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -108,8 +108,7 @@ control_callback(struct client *c, int closed, unused void *data) break; } - ctx = cmd_get_ctx(); - ctx->curclient = c; + ctx = cmd_get_ctx(NULL, c); ctx->error = control_msg_error; ctx->print = control_msg_print; ctx->info = control_msg_info; |