summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-06 16:14:09 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-06 16:14:09 +0100
commit9077b212c3a210cf1764cf0662e98e3af5fcd3ef (patch)
tree1ada0dad5d779cd51e70a8946bea97e4ff786d20
parenta4e19bcd8020f655f613604361d0f30384edbdc0 (diff)
job_run needs fewer arguments.
-rw-r--r--window-copy.c2
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);
}