From 69440d19b783c72139f22c5c72b34b55d99e71de Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 7 May 2019 10:25:15 +0000 Subject: Do not use evbuffer_add_buffer because it is destructive and doesn't work in newer libevent. --- notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'notify.c') diff --git a/notify.c b/notify.c index 088d7596..3079f0eb 100644 --- a/notify.c +++ b/notify.c @@ -199,13 +199,13 @@ notify_hook(struct cmdq_item *item, const char *name) } void -notify_input(struct window_pane *wp, struct evbuffer *input) +notify_input(struct window_pane *wp, const u_char *buf, size_t len) { struct client *c; TAILQ_FOREACH(c, &clients, entry) { if (c->flags & CLIENT_CONTROL) - control_notify_input(c, wp, input); + control_notify_input(c, wp, buf, len); } } -- cgit v1.2.3