diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-06 16:14:09 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-06 16:14:09 +0100 |
commit | 9077b212c3a210cf1764cf0662e98e3af5fcd3ef (patch) | |
tree | 1ada0dad5d779cd51e70a8946bea97e4ff786d20 | |
parent | a4e19bcd8020f655f613604361d0f30384edbdc0 (diff) |
job_run needs fewer arguments.
-rw-r--r-- | window-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |