aboutsummaryrefslogtreecommitdiff
path: root/control-notify.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-07 13:02:27 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-07 13:02:27 +0100
commitd9767b81123cc8913c63c42cc754cccbf34ccb6c (patch)
tree94e0a8cdb822db6145080c02907ad626c0d0fa89 /control-notify.c
parenteac30a86d78879f2dec802b0d246eba0afa79b3e (diff)
parent85a9c2f52b8855560fa9fdaa033d1c7bca738429 (diff)
downloadrtmux-d9767b81123cc8913c63c42cc754cccbf34ccb6c.tar.gz
rtmux-d9767b81123cc8913c63c42cc754cccbf34ccb6c.tar.bz2
rtmux-d9767b81123cc8913c63c42cc754cccbf34ccb6c.zip
Merge branch 'obsd-master'
Diffstat (limited to 'control-notify.c')
-rw-r--r--control-notify.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/control-notify.c b/control-notify.c
index 7b28e8f0..340dab73 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -28,19 +28,14 @@
void
control_notify_input(struct client *c, struct window_pane *wp,
- struct evbuffer *input)
+ const u_char *buf, size_t len)
{
- u_char *buf;
- size_t len;
struct evbuffer *message;
u_int i;
if (c->session == NULL)
return;
- buf = EVBUFFER_DATA(input);
- len = EVBUFFER_LENGTH(input);
-
/*
* Only write input if the window pane is linked to a window belonging
* to the client's session.