aboutsummaryrefslogtreecommitdiff
path: root/control-notify.c
diff options
context:
space:
mode:
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.