mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-13 15:37:27 +02:00
Merge branch 'obsd-master'
This commit is contained in:
@ -281,7 +281,7 @@ server_client_detach(struct client *c, enum msgtype msgtype)
|
||||
if (s == NULL)
|
||||
return;
|
||||
|
||||
hooks_run(c->session->hooks, "client-detached", c);
|
||||
hooks_run(c->session->hooks, c, "client-detached");
|
||||
proc_send_s(c->peer, msgtype, s->name);
|
||||
}
|
||||
|
||||
@ -1035,7 +1035,7 @@ server_client_dispatch(struct imsg *imsg, void *arg)
|
||||
server_redraw_client(c);
|
||||
}
|
||||
if (c->session != NULL)
|
||||
hooks_run(c->session->hooks, "client-resized", c);
|
||||
hooks_run(c->session->hooks, c, "client-resized");
|
||||
break;
|
||||
case MSG_EXITING:
|
||||
if (datalen != 0)
|
||||
|
Reference in New Issue
Block a user