From 9077b212c3a210cf1764cf0662e98e3af5fcd3ef Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 6 Apr 2020 16:14:09 +0100 Subject: [PATCH] job_run needs fewer arguments. --- window-copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window-copy.c b/window-copy.c index 149287b5..2a47e9b0 100644 --- a/window-copy.c +++ b/window-copy.c @@ -3415,7 +3415,7 @@ window_copy_copy_pipe(struct window_mode_entry *wme, struct session *s, if (buf == NULL) return; - job = job_run(cmd, s, NULL, NULL, NULL, NULL, NULL, JOB_NOWAIT, -1, -1); + job = job_run(cmd, s, NULL, NULL, NULL, NULL, NULL, JOB_NOWAIT); bufferevent_write(job_get_event(job), buf, len); window_copy_copy_buffer(wme, prefix, buf, len); }