aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-21 14:24:33 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-21 14:24:33 +0000
commit6ddb06d37232a9d02da996e0a83d5acd52002ffc (patch)
treefb0e3bbd9f4f7e556a08f5e69a871505204efbec /status.c
parent69d97f6d4b7a373eb2c05ef2c3ca18be3271871b (diff)
downloadrtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.tar.gz
rtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.tar.bz2
rtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.zip
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 9166ea5e..f120c38a 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);