summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-25 11:43:01 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-25 11:43:01 +0000
commitd28a39d01de47786a703e630a4f8930485cba7a1 (patch)
treeca4150390534197c5e74ce88bb9824be1627d014 /status.c
parent270d90ce1e302e7d015abb30342cca0a6ecff048 (diff)
Extend jobs to support writing and use that for copy-pipe instead of
popen, from Chris Johnsen.
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index fc773dca..6ce0b871 100644
--- a/status.c
+++ b/status.c
@@ -594,7 +594,7 @@ status_find_job(struct client *c, char **iptr)
/* If not found at all, start the job and add to the tree. */
if (so == NULL) {
- job_run(cmd, status_job_callback, status_job_free, c);
+ job_run(cmd, NULL, status_job_callback, status_job_free, c);
c->references++;
so = xmalloc(sizeof *so);